1

I am running the Qpid 0.20 CPP broker (AMQP 1.0 compliant) and trying to send JMS messages with a Java application.

  • what's working is when the AMQP 0-10 client and the org.apache.qpid.jndi.PropertiesFileInitialContextFactory class are used (see first Java example)

  • what's not working is when the AMQP 1.0 client and the org.apache.qpid.amqp_1_0.jms.jndi.PropertiesFileInitialContextFactory class are used (see second Java example): the client goes into an endless thread loop and never actually sends the message.

Since the Windows Azure documentation explicitly mentions the use of the org.apache.qpid.amqp_1_0.jms.jndi.PropertiesFileInitialContextFactory class could it be that the Qpid 0.20 CPP broker doesn't support the AMQP 1.0 Java client? Given that the connection url (http://guest:guest@localhost/test?cliendId='test-client') in the AMQP 1.0 example is invalid, I don't know if the code is runnable at all.

Does anyone know if the setting CPP broker - Java AMQP 1.0 client really works?

Vladimir
  • 6,853
  • 2
  • 26
  • 25

0 Answers0