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

Claus Ibsen commented on CAMEL-847:
-----------------------------------

Change of tactic

I think camel-mina should be MEP agnostic and only use the sync option as:

*MinaProducer*
- if false, just send data and don't wait for response
- if true, send data and wait for response. set response on either IN or OUT 
depending on the MEP

*MinaConsumer*
- if false, just recieve data and don't send a response
- if true, recieve data and send the response from either IN or OUT depending 
on the MEP



> mina should throw exception if exchange is not out capable in sync mode
> -----------------------------------------------------------------------
>
>                 Key: CAMEL-847
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-847
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-mina
>    Affects Versions: 1.4.0
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 1.5.0
>
>
> Currently the camel-mina component silently ignores exchanges that is not out 
> capable even though its configured for sync=true (InOut)
> What it does now is setting the sync option itself depending on the exchange 
> type.

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

Reply via email to