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] Commented: (CAMEL-2795) ProducerCache send() should use the UnitOfWork to wrap the exchange
Date Mon, 07 Jun 2010 10:59:52 GMT

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

Claus Ibsen commented on CAMEL-2795:
------------------------------------

Willem

I have to vote -1 to this commit.

{{ProducerCache}} is used internally in EIPs and thus the route is already under an existing
UoW.
And therefore the {{ProducerCache}} should *not* mess with this and *override* or set any
UnitOfWork.

Instead we could consider have {{ProducerTemplate}} handle sending to an endpoint in an unit
of work.
So you must revert this change and implement the logic on {{ProducerTemplate}} instead.

> ProducerCache send() should use the UnitOfWork to wrap the exchange
> -------------------------------------------------------------------
>
>                 Key: CAMEL-2795
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2795
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-core
>            Reporter: Willem Jiang
>            Assignee: Willem Jiang
>             Fix For: 2.4.0
>
>
> In this way the UnitOfWork of the exchange  which is sent by the DefaultProducerTemplate
can be used rightly.

-- 
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