qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rajith Attapattu <rajit...@gmail.com>
Subject Re: Null Pointer exception in Qpid Java CLient 0.24
Date Mon, 07 Oct 2013 17:36:59 GMT
Yes the older versions (pre 0-10) only works with Binding URL format.

Rajith


On Mon, Oct 7, 2013 at 1:35 PM, Gordon Sim <gsim@redhat.com> wrote:

> On 10/07/2013 05:51 PM, k.madnani84 wrote:
>
>> Hi,
>>
>> I am trying to use Qpid Java client 0.24 with RabbitMQ 3.1.5.I am getting
>> a
>> null pointer exception and i understand its because exchangeName is
>> getting
>> generated as null when i debug.But whats the reason?
>> Is there something i need to mention extra in case of RabbitMQ.My
>> properties
>> file is as such:
>>
>> java.naming.factory.initial =
>> org.apache.qpid.jndi.**PropertiesFileInitialContextFa**ctory
>> connectionfactory.**qpidConnectionfactory =
>> amqp://rbtadmin:b_Ksw6w0@**zldv0434.vci.att.com/?**
>> brokerlist='tcp://zldv0434.**vci.att.com:5672<http://rbtadmin:b_Ksw6w0@zldv0434.vci.att.com/?brokerlist='tcp://zldv0434.vci.att.com:5672>
>> '
>> destination.topicExchange = amq.topic
>>
>
> This is speculative, but try changing the line above to
>
> destination.topicExchange=**topic://amq.topic
>
> The older protocols I think still require the 'binding url' format,
> https://cwiki.apache.org/**confluence/display/qpid/**BindingURLFormat<https://cwiki.apache.org/confluence/display/qpid/BindingURLFormat>.
> It may be that the shortened form you use above is not parsed correctly.
>
>
>
>
>
> ------------------------------**------------------------------**---------
> To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.**org<dev-unsubscribe@qpid.apache.org>
> For additional commands, e-mail: dev-help@qpid.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message