camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <>
Subject Re: JMS Component - Activation Spec
Date Fri, 02 Nov 2012 07:28:09 GMT
On Fri, Nov 2, 2012 at 5:56 AM, Patrick Bray <> wrote:
> Thanks for your quick response Claus. I have read your book and it has been a
> great help in getting up and running using Camel.
> One quick question. I understand that camel-jms uses spring-jms under the
> hood and as such I am hoping that the below will be possible:
> I am hoping to extend the DefaultMessageListenerContainer so that I can
> modify the JMS re-connection logic to use an exponential back off. I have
> this implemented and tested however I can't see how I can wire in a custom
> MessageListenerContainer to the JMS Component.
> From looking through the source of the JmsComponent I can see that the
> container is created within the JmsConfiguration
> chooseMessageListenerContainerImplementation method.
> Is this possible or would we need to modify the existing JMS Component in
> order to achieve this?

Yeah see the messageListenerContainerFactoryRef option at

And you need to set consumerType=Custom to enable this.

> --
> View this message in context:
> Sent from the Camel - Users mailing list archive at

Claus Ibsen
Red Hat, Inc.
FuseSource is now part of Red Hat
Twitter: davsclaus
Author of Camel in Action:

View raw message