camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jgunz <slo...@twcny.rr.com>
Subject Re: How do you register a ActiveMQ TransportListener?
Date Wed, 26 Sep 2007 16:14:37 GMT

Awesome, thank you.


James.Strachan wrote:
> 
> 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
> 
> 

-- 
View this message in context: http://www.nabble.com/How-do-you-register-a-ActiveMQ-TransportListener--tf4517033s22882.html#a12904286
Sent from the Camel - Users mailing list archive at Nabble.com.


Mime
View raw message