camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] Issue Comment Edited: (CAMEL-2371) Netty component
Date Thu, 04 Mar 2010 16:43:44 GMT

    [ https://issues.apache.org/activemq/browse/CAMEL-2371?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=58042#action_58042
] 

Claus Ibsen edited comment on CAMEL-2371 at 3/4/10 4:42 PM:
------------------------------------------------------------

In this code
{code}
+        try {
+            consumer.getProcessor().process(exchange);
+        } catch (Exception exception) {
+            throw new Exception("Error in consumer while dispatching exchange for further
processing", exception);
+        }
{code}

Its best to throw a CamelExchangeException since the exception occurred while processing that
exchange.

      was (Author: davsclaus):
    In this code
{code}
+        try {
+            consumer.getProcessor().process(exchange);
+        } catch (Exception exception) {
+            throw new Exception("Error in consumer while dispatching exchange for further
processing", exception);
+        }
{code{

Its best to throw a CamelExchangeException since the exception occurred while processing that
exchange.
  
> Netty component
> ---------------
>
>                 Key: CAMEL-2371
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2371
>             Project: Apache Camel
>          Issue Type: New Feature
>            Reporter: Claus Ibsen
>            Assignee: Ashwin Karpe
>             Fix For: Future
>
>         Attachments: camel-netty-patch.diff, camel-netty20100304.zip
>
>
> Consider creating a new JBoss [Netty|http://www.jboss.org/netty/] component as a supplement
to the MINA component.
> It starts to become a _joke_ with the Mina 2.0 release which has take 2+ years and still
not released. 
> And one of the primary drivers behind MINA joined JBoss and created Netty instead. It
appears as a good alternative.
> Netty is also Apache licensed.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message