qpid-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robbie Gemmell <robbie.gemm...@gmail.com>
Subject Re: Spring AMQP and Qpid
Date Thu, 21 Jan 2016 18:47:29 GMT
I decided to assume for now that it wasn't actually Spring AMQP thats
being used given the mention of Camel and prior use of the Qpid 0.32
AMQP 1.0 JMS client (I'm assuming successfully given lack of mention
otherwise).


On 21 January 2016 at 18:37, Gibson, Jack <jagibson@paypal.com.invalid> wrote:
>  Not sure this will work, Spring AMQP is pretty tightly bound to both the
> older AMQP protocol versions and RabbitMQ.   Specifically, you are
> substituting the Qpid JMS driver where the implementation calls for an
> abstracted AMQP driver.  You¹d be much more successful using the Spring
> JMS implementation which will provide equivalent and known functionality.
>
>
>
> On 1/21/16, 11:20 AM, "Robbie Gemmell" <robbie.gemmell@gmail.com> wrote:
>
>>On 21 January 2016 at 16:20, jsmith901 <muhnelakne@gmail.com> wrote:
>>> I'm trying to get Qpid JMS 0.7.0 to work with Spring AMQP and Camel.
>>> Previously using version 0.32, I had the configuration set up like so:
>>>
>>>     <bean id="amqpConnectionFactory"
>>> class="org.apache.qpid.amqp_1_0.jms.impl.ConnectionFactoryImpl">
>>>         <constructor-arg>
>>>             <value>${hostName}</value>
>>>         </constructor-arg>
>>>         <constructor-arg>
>>>             <value>${port}</value>
>>>         </constructor-arg>
>>>         <constructor-arg>
>>>             <value>${userName}</value>
>>>         </constructor-arg>
>>>         <constructor-arg>
>>>             <value>${password}</value>
>>>         </constructor-arg>
>>>     </bean>
>>>
>>>     <bean id="amqp"
>>>class="org.apache.camel.component.amqp.AMQPComponent">
>>>         <property name="connectionFactory" ref="amqpConnectionFactory"
>>>/>
>>>     </bean>
>>>
>>> I haven't been able to figure out a similar configuration to work with
>>>Qpid
>>> JMS 0.7.0. Can anyone point me in the right direction?
>>>
>>> Thanks
>>>
>>>
>>>
>>> --
>>> View this message in context:
>>>http://qpid.2158936.n2.nabble.com/Spring-AMQP-and-Qpid-tp7636968.html
>>> Sent from the Apache Qpid users mailing list archive at Nabble.com.
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org
>>> For additional commands, e-mail: users-help@qpid.apache.org
>>>
>>
>>
>>I'm not too familiar with the bits you are using or whether the
>>updated combination will work, but the above configuration seems to be
>>using the constructor shown at [1] from the 0.32 clients
>>ConnectionFactory implementation, so a similar approach with the 0.7.0
>>client might be to configure it to use the constructor shown at [2],
>>at which point you could configure things via the supplied URI string
>>as detailed at [3].
>>
>>Robbie
>>
>>[1]
>>https://github.com/apache/qpid/blob/0.32/qpid/java/amqp-1-0-client-jms/src
>>/main/java/org/apache/qpid/amqp_1_0/jms/impl/ConnectionFactoryImpl.java#L8
>>1
>>[2]
>>https://github.com/apache/qpid-jms/blob/0.7.0/qpid-jms-client/src/main/jav
>>a/org/apache/qpid/jms/JmsConnectionFactory.java#L92
>>[3] http://qpid.apache.org/releases/qpid-jms-0.7.0/docs/index.html
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org
>>For additional commands, e-mail: users-help@qpid.apache.org
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org
> For additional commands, e-mail: users-help@qpid.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org
For additional commands, e-mail: users-help@qpid.apache.org


Mime
View raw message