FAQ
Hi all,

How can route my message which is a pojo based on a specific attribute
value of it?

For eg ,

suppose that I have a have class A which has an attribute 'action' , I need
to route my message based on the value of 'action' .

--
BR
Muhsin

Search Discussions

  • Ravindra Godbole at Jan 27, 2014 at 10:01 am
    You can use dynamic router feature of camel. Read the documentation carefully as not returning null means it will loop infinitely.

    http://camel.apache.org/dynamic-router.html


    -----Original Message-----
    From: Muhzin
    Sent: Monday, January 27, 2014 2:51 PM
    To: users@camel.apache.org
    Subject: Content based routing

    Hi all,

    How can route my message which is a pojo based on a specific attribute
    value of it?

    For eg ,

    suppose that I have a have class A which has an attribute 'action' , I need
    to route my message based on the value of 'action' .

    --
    BR
    Muhsin
    This e-mail and any files transmitted with it are for the sole use of the intended recipient(s) and may contain confidential and privileged information. If you are not the intended recipient(s), please reply to the sender and destroy all copies of the original message. Any unauthorized review, use, disclosure, dissemination, forwarding, printing or copying of this email, and/or any action taken in reliance on the contents of this e-mail is strictly prohibited and may be unlawful.
  • Claus Ibsen at Jan 27, 2014 at 10:03 am
    Hi

    Yeah or the recipient list
    http://camel.apache.org/how-do-i-use-dynamic-uri-in-to.html
    On Mon, Jan 27, 2014 at 11:01 AM, wrote:
    You can use dynamic router feature of camel. Read the documentation carefully as not returning null means it will loop infinitely.

    http://camel.apache.org/dynamic-router.html


    -----Original Message-----
    From: Muhzin
    Sent: Monday, January 27, 2014 2:51 PM
    To: users@camel.apache.org
    Subject: Content based routing

    Hi all,

    How can route my message which is a pojo based on a specific attribute
    value of it?

    For eg ,

    suppose that I have a have class A which has an attribute 'action' , I need
    to route my message based on the value of 'action' .

    --
    BR
    Muhsin
    This e-mail and any files transmitted with it are for the sole use of the intended recipient(s) and may contain confidential and privileged information. If you are not the intended recipient(s), please reply to the sender and destroy all copies of the original message. Any unauthorized review, use, disclosure, dissemination, forwarding, printing or copying of this email, and/or any action taken in reliance on the contents of this e-mail is strictly prohibited and may be unlawful.


    --
    Claus Ibsen
    -----------------
    Red Hat, Inc.
    Email: cibsen@redhat.com
    Twitter: davsclaus
    Blog: http://davsclaus.com
    Author of Camel in Action: http://www.manning.com/ibsen
    Make your Camel applications look hawt, try: http://hawt.io

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupusers @
categoriescamel
postedJan 27, '14 at 9:21a
activeJan 27, '14 at 10:03a
posts3
users3
websitecamel.apache.org

People

Translate

site design / logo © 2022 Grokbase