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 <[EMAIL PROTECTED]> 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.

Reply via email to