camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <james.strac...@gmail.com>
Subject Re: How do you register a ActiveMQ TransportListener?
Date Wed, 26 Sep 2007 08:09:56 GMT
FWIW I've just patched trunk of ActiveMQ to support this...

https://issues.apache.org/activemq/browse/AMQ-1434

so you can now register a TransportListener on the
ActiveMQConnectionFactory so that things work nicely with Camel /
Spring JmsTemplate / MessageListenerContainer etc

On 25/09/2007, jgunz <slobby@twcny.rr.com> wrote:
>
> I'm having trouble figuring out how to register an
> http://activemq.apache.org/maven/activemq-core/apidocs/org/apache/activemq/transport/TransportListener.html
> ActiveMQ TransportListener  when working with Camel. Normally when using
> ActiveMQ I'd register it directly on the connection but in Camel I only have
> access to the ActiveMQConnectionFactory which I pass to the CamelContext:
>
> ConnectionFactory connectionFactory = new
> ActiveMQConnectionFactory("vm://localhost?broker.persistent=false");
> context.addComponent("test-jms",
> JmsComponent.jmsComponentAutoAcknowledge(connectionFactory));
>
>
> Thanks for the help.
>
> --
> View this message in context: http://www.nabble.com/How-do-you-register-a-ActiveMQ-TransportListener--tf4517033s22882.html#a12884549
> Sent from the Camel - Users mailing list archive at Nabble.com.
>
>


-- 
James
-------
http://macstrac.blogspot.com/

Open Source SOA
http://open.iona.com

Mime
View raw message