You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by rkjoshi2 <rk...@gmail.com> on 2014/05/20 23:04:44 UTC
Get route information from JmsEndpoint
Hi,
I am creating a JMS route programatically by following code :
from("jms:queue:OUTBOUND_QUEUE?concurrentConsumers=5&messageListenerContainerFactoryRef=msgListenerContainerFactory").processRef("mqprocessor");
I have class :
public class MessageListenerContainerFactoryImpl implements
MessageListenerContainerFactory {
@Override
public AbstractMessageListenerContainer createMessageListenerContainer(
JmsEndpoint endpoint) {
}
}
I want to exchange some information/parameter between the above route and
endpoint. And based on the parameter value I want choose the connection
factory to be set in this message listener container.
Please let me know if you need more information to explain my problem
statement.
Thanks & Regards,
Ravi Joshi
--
View this message in context: http://camel.465427.n5.nabble.com/Get-route-information-from-JmsEndpoint-tp5751372.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Re: Get route information from JmsEndpoint
Posted by Christian Müller <ch...@gmail.com>.
Can you explain your requirements (not the solution you try to achirve).
Best,
Christian
Am 20.05.2014 23:05 schrieb "rkjoshi2" <rk...@gmail.com>:
> Hi,
>
> I am creating a JMS route programatically by following code :
>
>
> from("jms:queue:OUTBOUND_QUEUE?concurrentConsumers=5&messageListenerContainerFactoryRef=msgListenerContainerFactory").processRef("mqprocessor");
>
> I have class :
>
> public class MessageListenerContainerFactoryImpl implements
> MessageListenerContainerFactory {
>
> @Override
> public AbstractMessageListenerContainer
> createMessageListenerContainer(
> JmsEndpoint endpoint) {
> }
> }
>
> I want to exchange some information/parameter between the above route and
> endpoint. And based on the parameter value I want choose the connection
> factory to be set in this message listener container.
>
> Please let me know if you need more information to explain my problem
> statement.
>
> Thanks & Regards,
> Ravi Joshi
>
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Get-route-information-from-JmsEndpoint-tp5751372.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>