Grokbase Groups Camel users June 2010
FAQ
I am trying some examples on the Split EIP.

I was wondering, how can I safely handle an exception thrown by one of the
splitted messages.

I will like to handle it such that the split continues to process other
requests.

kr.
--
View this message in context: http://old.nabble.com/How-to-handle-failed-splitted-message-tp28820244p28820244.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Search Discussions

  • Claus Ibsen at Jun 9, 2010 at 4:17 am

    On Tue, Jun 8, 2010 at 6:33 PM, lekkie wrote:
    I am trying some examples on the Split EIP.

    I was wondering, how can I safely handle an exception thrown by one of the
    splitted messages.

    I will like to handle it such that the split continues to process other
    requests.
    This is being discussed in the chapter 8 of the Camel in Action book,
    see section 8.1.5.

    kr.
    --
    View this message in context: http://old.nabble.com/How-to-handle-failed-splitted-message-tp28820244p28820244.html
    Sent from the Camel - Users mailing list archive at Nabble.com.


    --
    Claus Ibsen
    Apache Camel Committer

    Author of Camel in Action: http://www.manning.com/ibsen/
    Open Source Integration: http://fusesource.com
    Blog: http://davsclaus.blogspot.com/
    Twitter: http://twitter.com/davsclaus
  • Lekkie at Jun 9, 2010 at 7:56 am
    I have tried to get this book without success.

    I live in Nigeria and credit card from there are not allowed on your site,
    as such I cant use a payment card, paypal is not allowed as well.

    Is there alternative for me like bank transfer or something? I'd appreciate
    alternatives.

    Regards.



    Claus Ibsen-2 wrote:
    On Tue, Jun 8, 2010 at 6:33 PM, lekkie wrote:

    I am trying some examples on the Split EIP.

    I was wondering, how can I safely handle an exception thrown by one of
    the
    splitted messages.

    I will like to handle it such that the split continues to process other
    requests.
    This is being discussed in the chapter 8 of the Camel in Action book,
    see section 8.1.5.

    kr.
    --
    View this message in context:
    http://old.nabble.com/How-to-handle-failed-splitted-message-tp28820244p28820244.html
    Sent from the Camel - Users mailing list archive at Nabble.com.


    --
    Claus Ibsen
    Apache Camel Committer

    Author of Camel in Action: http://www.manning.com/ibsen/
    Open Source Integration: http://fusesource.com
    Blog: http://davsclaus.blogspot.com/
    Twitter: http://twitter.com/davsclaus
    --
    View this message in context: http://old.nabble.com/How-to-handle-failed-splitted-message-tp28820244p28827075.html
    Sent from the Camel - Users mailing list archive at Nabble.com.
  • Taariq Levack at Jun 9, 2010 at 11:47 am
    Hi

    I'm just wondering if there's a cleaner way of dealing with a sequencing matter using Camel.

    The client has the requirement that the messages it sends should be processed in order.
    They also require that there should be no single point of failure, which is what I'd get with a
    hardware content based switch inserting a sequence number into the payload and then have all the clustered Camel instances
    pass the message down to a single JVM with a resequencing batcher.

    The next thing I thought of is to have all the messages inserted into the database and have DB consumers
    fetch ordered batches.

    Is there a combination of EIPs that I can consider?

    Thanks,
    Taariq
  • Taariq Levack at Jun 9, 2010 at 11:59 am
    Oh nevermind, batch resequencing in a single JVM with failover will do the trick.

    -----Original Message-----
    From: Taariq Levack
    Sent: 09 June 2010 01:46 PM
    To: users@camel.apache.org
    Subject: Is there an EIP for this sort of sequencing problem?

    Hi

    I'm just wondering if there's a cleaner way of dealing with a sequencing matter using Camel.

    The client has the requirement that the messages it sends should be processed in order.
    They also require that there should be no single point of failure, which is what I'd get with a
    hardware content based switch inserting a sequence number into the payload and then have all the clustered Camel instances
    pass the message down to a single JVM with a resequencing batcher.

    The next thing I thought of is to have all the messages inserted into the database and have DB consumers
    fetch ordered batches.

    Is there a combination of EIPs that I can consider?

    Thanks,
    Taariq
  • Claus Ibsen at Jun 9, 2010 at 4:30 pm

    On Wed, Jun 9, 2010 at 9:55 AM, lekkie wrote:
    I have tried to get this book without success.

    I live in Nigeria and credit card from there are not allowed on your site,
    as such I cant use a payment card, paypal is not allowed as well.

    Is there alternative for me like bank transfer or something? I'd appreciate
    alternatives.
    You have to contact the publisher Manning about this.
    Or maybe when the book is in print you can order it from a bookstore
    which works for you. I wonder if Amazon will work then?

    You may be able to find some clues in the source code of the book
    which is freely avail.
    Also the source code for camel how it tests itself can help as well.

    You can handle the thrown exceptions in the AggregationStrategy.

    Regards.



    Claus Ibsen-2 wrote:
    On Tue, Jun 8, 2010 at 6:33 PM, lekkie wrote:

    I am trying some examples on the Split EIP.

    I was wondering, how can I safely handle an exception thrown by one of
    the
    splitted messages.

    I will like to handle it such that the split continues to process other
    requests.
    This is being discussed in the chapter 8 of the Camel in Action book,
    see section 8.1.5.

    kr.
    --
    View this message in context:
    http://old.nabble.com/How-to-handle-failed-splitted-message-tp28820244p28820244.html
    Sent from the Camel - Users mailing list archive at Nabble.com.


    --
    Claus Ibsen
    Apache Camel Committer

    Author of Camel in Action: http://www.manning.com/ibsen/
    Open Source Integration: http://fusesource.com
    Blog: http://davsclaus.blogspot.com/
    Twitter: http://twitter.com/davsclaus
    --
    View this message in context: http://old.nabble.com/How-to-handle-failed-splitted-message-tp28820244p28827075.html
    Sent from the Camel - Users mailing list archive at Nabble.com.


    --
    Claus Ibsen
    Apache Camel Committer

    Author of Camel in Action: http://www.manning.com/ibsen/
    Open Source Integration: http://fusesource.com
    Blog: http://davsclaus.blogspot.com/
    Twitter: http://twitter.com/davsclaus

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupusers @
categoriescamel
postedJun 8, '10 at 4:34p
activeJun 9, '10 at 4:30p
posts6
users3
websitecamel.apache.org

People

Translate

site design / logo © 2022 Grokbase