How does one determine if an error occurred when using the Java Messenger interface?
I am trying to send messages to an Artemis broker using basically the Send.java and Recv.java examples from https://github.com/apache/qpid-proton.git, with some extra logging. When I run Recv, I see a connection being made on the broker, and I can send messages to the broker using other (non-AMQP) protocols. I do not see a connection when I run Send. In neither case are messages read nor written. They are not read, even if I send messages (successfully) with another protocol. When I run Send with finest logging enabled, I see this output: Mar 09, 2016 4:32:28 PM org.apache.qpid.proton.messenger.impl.MessengerImpl put FINE: MessengerImpl [_name=0ab8f4c2-66e4-4eb8-9b7e-23cfea723eaa] about to put message: Message{properties=Properties{messageId=null, userId=null, to='amqp://username:password@192.168.99.100/jms.queue.DLQ', subject='jms.queue.DLQ', replyTo='null', correlationId=null, contentType=null, contentEncoding=null, absoluteExpiryTime=null, creationTime=null, groupId='null', groupSequence=null, replyToGroupId='null'}body=AmqpValue{Hello World!}} Mar 09, 2016 4:32:28 PM org.apache.qpid.proton.messenger.impl.MessengerImpl getLink FINE: Connecting to 192.168.99.100:5672 Mar 09, 2016 4:32:28 PM org.apache.qpid.proton.messenger.impl.MessengerImpl pumpOut FINE: Sending on delivery: DeliveryImpl [_tag=[49], _link=org.apache.qpid.proton.engine.impl.SenderImpl@7e4e1fca, _deliveryState=null, _settled=false, _remoteSettled=false, _remoteDeliveryState=null, _flags=0, _defaultDeliveryState=null, _transportDelivery=null, _dataSize=0, _complete=false, _updated=false, _done=false, _offset=0] Mar 09, 2016 4:32:28 PM org.apache.qpid.proton.example.Send run INFO: Sending message Mar 09, 2016 4:32:28 PM org.apache.qpid.proton.messenger.impl.MessengerImpl send FINE: MessengerImpl [_name=0ab8f4c2-66e4-4eb8-9b7e-23cfea723eaa] about to send Mar 09, 2016 4:32:29 PM org.apache.qpid.proton.example.Send lambda$run$0 INFO: Status of Hello World!: UNKNOWN Mar 09, 2016 4:32:34 PM org.apache.qpid.proton.example.Send lambda$run$0 INFO: Status of Hello World!: UNKNOWN Mar 09, 2016 4:32:39 PM org.apache.qpid.proton.example.Send lambda$run$0 ... Mar 09, 2016 4:33:29 PM org.apache.qpid.proton.messenger.impl.MessengerImpl processActive FINE: Processing active connector ConnectorImpl [_channel=java.nio.channels.SocketChannel[connected local=/192.168.99.1:49518 remote=/192.168.99.100:5672]] Mar 09, 2016 4:33:29 PM org.apache.qpid.proton.example.Send run INFO: Sent, stopping Mar 09, 2016 4:33:29 PM org.apache.qpid.proton.messenger.impl.MessengerImpl stop FINE: MessengerImpl [_name=0ab8f4c2-66e4-4eb8-9b7e-23cfea723eaa] about to stop Mar 09, 2016 4:33:29 PM org.apache.qpid.proton.example.Send run INFO: Stopped The messages from the lambda are printing messenger.getStatus for the tracker for the message that was sent. Running Recv gives this output: Mar 09, 2016 3:57:14 PM org.apache.qpid.proton.example.Recv run INFO: Subscribing to amqp://username:password@192.168.99.100/jms.queue.DLQ Mar 09, 2016 3:57:14 PM org.apache.qpid.proton.messenger.impl.MessengerImpl subscribe FINE: MessengerImpl [_name=e3b2069e-54d4-415b-a342-4bf0cc98dcdd] about to subscribe to source amqp://rspace:dpass@192.168.99.100/jms.queue.DLQ Mar 09, 2016 3:57:14 PM org.apache.qpid.proton.messenger.impl.MessengerImpl getLink FINE: Connecting to 192.168.99.100:5672 Mar 09, 2016 3:57:14 PM org.apache.qpid.proton.example.Recv run INFO: Calling recv Mar 09, 2016 3:58:15 PM org.apache.qpid.proton.messenger.impl.MessengerImpl processActive FINE: Processing active connector ConnectorImpl [_channel=java.nio.channels.SocketChannel[connected local=/192.168.99.1:62376 remote=/192.168.99.100:5672]] Mar 09, 2016 3:58:15 PM org.apache.qpid.proton.example.Recv run INFO: Incoming: 0 The broker is running at 192.168.99.100 on port 5672, and there is both a queue and an address named jms.queue.DLQ. (This is an AMQP queue that is used for JMS messaging, but I get simlar results with non-JMS queues and addresses.) Clearly, something is going wrong, but I cannot find any way to get information about what it is. I have also done things like change the IP address and the queue name to invalid values, and it does not seem to have any effect. Where do I need to look to get this information? Troy