Grokbase Groups Camel users May 2012
FAQ
Hi,

I have a requirement, in which we will be listening to active MQ to consume
messages, which is master route.

from("activemq:queue:mediation-mq").to("bean:messageConsumer?method=processMessage")
-- this master route does some basic stuff which is required for the
application.

I want to start this route from within processMessage() method : from("
from("bean:mediationSource?method=ftpServer").beanRef("ggsnToBdrProcessor"),
once this whole route is completed, then i want to resume back to my master
route. or else how a child route should be started once it consumes message
from activemq.

pls provide me which approach i need to follow.

thanks in advance

--
View this message in context: http://camel.465427.n5.nabble.com/Running-Route-inside-another-route-tp5710664.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Search Discussions

  • Björn Bength at May 16, 2012 at 12:01 pm
    Hi,

    Have a look at this:

    http://camel.apache.org/pojo-producing.html

    Regards
    Björn


    On Wed, May 16, 2012 at 12:25 PM, Nafees wrote:
    Hi,

    I have a requirement, in which we will be listening to active MQ to consume
    messages, which is master route.

    from("activemq:queue:mediation-mq").to("bean:messageConsumer?method=processMessage")
    -- this master route does some basic stuff which is required for the
    application.

    I want to start this route from within processMessage() method : from("
    from("bean:mediationSource?method=ftpServer").beanRef("ggsnToBdrProcessor"),
    once this whole route is completed, then i want to resume back to my master
    route. or else how a child route should be started once it consumes message
    from activemq.

    pls provide me which approach i need to follow.

    thanks in advance

    --
    View this message in context: http://camel.465427.n5.nabble.com/Running-Route-inside-another-route-tp5710664.html
    Sent from the Camel - Users mailing list archive at Nabble.com.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupusers @
categoriescamel
postedMay 16, '12 at 11:17a
activeMay 16, '12 at 12:01p
posts2
users2
websitecamel.apache.org

2 users in discussion

Björn Bength: 1 post Nafees: 1 post

People

Translate

site design / logo © 2022 Grokbase