-
Bug
-
Resolution: Won't Do
-
Major
-
None
-
AMQ 7.3.0.GA, AMQ 7.2.4.GA
-
Release Notes
-
In prior releases, when you used the AMQP Qpid JMS client to send a message to the internal queue `activemq.management`, you saw an exception. This issue is now resolved.
-
Documented as Resolved Issue
When using AMQP Qpid JMS client and sending message to special internal queue activemq.management, it throws incorrect exception. Other AMQP clients do not throw such exception.
java -jar /var/dtests/node_data/clients/aac1.jar sender --log-msgs dict --broker <broker>:61616 --conn-auth-mechanisms PLAIN --conn-username admin --conn-password admin --address "activemq.management" --count 1 16:48:10,338 ERROR Error while sending a message! javax.jms.InvalidDestinationException: AMQ119002: target address does not exist [condition = amqp:not-found] at org.apache.qpid.jms.provider.amqp.AmqpSupport.convertToException(AmqpSupport.java:153) at org.apache.qpid.jms.provider.amqp.AmqpSupport.convertToException(AmqpSupport.java:118) at org.apache.qpid.jms.provider.amqp.builders.AmqpResourceBuilder.handleClosed(AmqpResourceBuilder.java:185) at org.apache.qpid.jms.provider.amqp.builders.AmqpResourceBuilder.processRemoteClose(AmqpResourceBuilder.java:129) at org.apache.qpid.jms.provider.amqp.AmqpProvider.processUpdates(AmqpProvider.java:938) at org.apache.qpid.jms.provider.amqp.AmqpProvider.onData(AmqpProvider.java:824) at org.apache.qpid.jms.transports.netty.NettyTcpTransport$NettyTcpTransportHandler.channelRead0(NettyTcpTransport.java:539) at org.apache.qpid.jms.transports.netty.NettyTcpTransport$NettyTcpTransportHandler.channelRead0(NettyTcpTransport.java:532) at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:105) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340) at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1434) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348) at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:965) at io.netty.channel.epoll.AbstractEpollStreamChannel$EpollStreamUnsafe.epollInReady(AbstractEpollStreamChannel.java:799) at io.netty.channel.epoll.EpollEventLoop.processReady(EpollEventLoop.java:433) at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:330) at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:909) at java.lang.Thread.run(Thread.java:748)
In 7.3.0, the messages are received properly in activemq.notifications topic (using same AMQP Qpid JMS client)
java -jar /var/dtests/node_data/clients/aac1.jar receiver --log-msgs dict --broker <broker>:61616 --conn-auth-mechanisms PLAIN --conn-username admin --conn-passworadmin --address "topic://activemq.notifications" --count 0 --timeout 10000 {'address': 'activemq.notifications', 'group-id': None, 'subject': None, 'user-id': None, 'correlation-id': None, 'content-encoding': None, 'priority': 0, 'type': None, 'ttl': 0, 'absolute-expiry-time': 0, 'content': None, 'redelivered': False, 'reply-to-group-id': None, 'durable': True, 'delivery-time': 0, 'group-sequence': 0, 'creation-time': 0, 'content-type': None, 'id': None, 'reply-to': None, 'properties': {'_AMQ_Address': 'activemq.notifications', '_AMQ_NotifType': 'SESSION_CREATED', '_AMQ_NotifTimestamp': 1555599513079, 'JMSXDeliveryCount': 1, '_AMQ_Client_ID': 'ID:ef552119-d173-4597-a6b8-ae2c620d2500:1', '_AMQ_Protocol_Name': 'AMQP', '_AMQ_SessionName': '6f6719b6-61ea-11e9-8413-fa163e26f0e9', '_AMQ_User': 'admin', '_AMQ_ConnectionName': '1829b86e', '_AMQ_Distance': 0}} {'address': 'activemq.notifications', 'group-id': None, 'subject': None, 'user-id': None, 'correlation-id': None, 'content-encoding': None, 'priority': 0, 'type': None, 'ttl': 0, 'absolute-expiry-time': 0, 'content': None, 'redelivered': False, 'reply-to-group-id': None, 'durable': True, 'delivery-time': 0, 'group-sequence': 0, 'creation-time': 0, 'content-type': None, 'id': None, 'reply-to': None, 'properties': {'_AMQ_Address': 'activemq.notifications', '_AMQ_NotifType': 'SESSION_CREATED', '_AMQ_NotifTimestamp': 1555599513091, 'JMSXDeliveryCount': 1, '_AMQ_Client_ID': 'ID:ef552119-d173-4597-a6b8-ae2c620d2500:1', '_AMQ_Protocol_Name': 'AMQP', '_AMQ_SessionName': '6f68ee77-61ea-11e9-8413-fa163e26f0e9', '_AMQ_User': 'admin', '_AMQ_ConnectionName': '1829b86e', '_AMQ_Distance': 0}} {'address': 'activemq.notifications', 'group-id': None, 'subject': None, 'user-id': None, 'correlation-id': None, 'content-encoding': None, 'priority': 0, 'type': None, 'ttl': 0, 'absolute-expiry-time': 0, 'content': None, 'redelivered': False, 'reply-to-group-id': None, 'durable': True, 'delivery-time': 0, 'group-sequence': 0, 'creation-time': 0, 'content-type': None, 'id': None, 'reply-to': None, 'properties': {'_AMQ_Address': 'activemq.notifications', '_AMQ_NotifType': 'SESSION_CLOSED', '_AMQ_NotifTimestamp': 1555599513437, 'JMSXDeliveryCount': 1, '_AMQ_Client_ID': 'ID:ef552119-d173-4597-a6b8-ae2c620d2500:1', '_AMQ_Protocol_Name': 'AMQP', '_AMQ_SessionName': '6f6719b6-61ea-11e9-8413-fa163e26f0e9', '_AMQ_User': 'admin', '_AMQ_ConnectionName': '1829b86e', '_AMQ_Distance': 0}} {'address': 'activemq.notifications', 'group-id': None, 'subject': None, 'user-id': None, 'correlation-id': None, 'content-encoding': None, 'priority': 0, 'type': None, 'ttl': 0, 'absolute-expiry-time': 0, 'content': None, 'redelivered': False, 'reply-to-group-id': None, 'durable': True, 'delivery-time': 0, 'group-sequence': 0, 'creation-time': 0, 'content-type': None, 'id': None, 'reply-to': None, 'properties': {'_AMQ_Address': 'activemq.notifications', '_AMQ_NotifType': 'SESSION_CLOSED', '_AMQ_NotifTimestamp': 1555599513438, 'JMSXDeliveryCount': 1, '_AMQ_Client_ID': 'ID:ef552119-d173-4597-a6b8-ae2c620d2500:1', '_AMQ_Protocol_Name': 'AMQP', '_AMQ_SessionName': '6f68ee77-61ea-11e9-8413-fa163e26f0e9', '_AMQ_User': 'admin', '_AMQ_ConnectionName': '1829b86e', '_AMQ_Distance': 0}}
- is related to
-
ENTMQBR-2466 Activemq.notifications generates duplicated messages randomly between protocols
- Closed