You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Ramarajan R (Jira)" <ji...@apache.org> on 2020/09/18 11:50:00 UTC

[jira] [Created] (CAMEL-15551) Multiple jms component Consumers is throwing Connection error when connecting to Artemis broker inside docker container

Ramarajan R created CAMEL-15551:
-----------------------------------

             Summary: Multiple jms component Consumers is throwing  Connection error when connecting to Artemis broker inside docker container
                 Key: CAMEL-15551
                 URL: https://issues.apache.org/jira/browse/CAMEL-15551
             Project: Camel
          Issue Type: Bug
          Components: came-jms
    Affects Versions: 2.25.1
            Reporter: Ramarajan R


We are connecting to Artemis broker(2.13.0) deployed in Docker Container using Camel JMS Component (Version 2.25.1) We are connecting to Artemis broker(2.13.0) deployed in Docker Container using Camel JMS Component (Version 2.25.1) When we have multiple consumer routes we are facing below exception ,: ActiveMQSecurityException[errorType=SECURITY_EXCEPTION message=AMQ229031: Unable to validate user from /host:52202. Username: null; SSL certificate subject DN: unavailable[main] DEBUG org.apache.camel.component.jms.DefaultJmsMessageListenerContainer  - Could not establish shared JMS Connection - leaving it up to asynchronous invokers to establish a Connection as soon as possiblejavax.jms.JMSSecurityException: AMQ229031: Unable to validate user from /localhost:52486. Username: null; SSL certificate subject DN: unavailable        at org.apache.activemq.artemis.core.protocol.core.impl.ChannelImpl.sendBlocking(ChannelImpl.java:467)        at org.apache.activemq.artemis.core.protocol.core.impl.ChannelImpl.sendBlocking(ChannelImpl.java:361)        at org.apache.activemq.artemis.core.protocol.core.impl.ActiveMQClientProtocolManager.createSessionContext(ActiveMQClientProtocolManager.java:300)        at org.apache.activemq.artemis.core.protocol.core.impl.ActiveMQClientProtocolManager.createSessionContext(ActiveMQClientProtocolManager.java:249)        at org.apache.activemq.artemis.core.client.impl.ClientSessionFactoryImpl.createSessionChannel(ClientSessionFactoryImpl.java:1366)        at org.apache.activemq.artemis.core.client.impl.ClientSessionFactoryImpl.createSessionInternal(ClientSessionFactoryImpl.java:691)        at org.apache.activemq.artemis.core.client.impl.ClientSessionFactoryImpl.createSession(ClientSessionFactoryImpl.java:316)        at org.apache.activemq.artemis.jms.client.ActiveMQConnection.authorize(ActiveMQConnection.java:684)        at org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory.createConnectionInternal(ActiveMQConnectionFactory.java:920)        at org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory.createConnection(ActiveMQConnectionFactory.java:299)        at org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory.createConnection(ActiveMQConnectionFactory.java:294)
The same works when we have single consumer routes.When we connect to Standalone broker both single and multiple consumer route works
When I use Artemis core library with plain java classes without camel JMScomponent then we are able to make connection for more than 1 consumers.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)