Issue Type: Bug Bug
Affects Versions: 0.7
Assignee: David Ward
Components: component-camel
Created: 08/Feb/13 4:10 PM
Description:

Incorrect:

public void mapFrom(CamelBindingData source, Context context) throws Exception {
Scope scope;
Message message = source.getMessage();
Exchange exchange = message.getExchange();
if (exchange.getIn() == source)

{ // <- THIS WILL NEVER MATCH scope = IN; }

else

{ scope = OUT; }
// ...

Correct:

public void mapFrom(CamelBindingData source, Context context) throws Exception {
Scope scope;
Message message = source.getMessage();
Exchange exchange = message.getExchange();
if (exchange.getIn() == message) { // <- THIS IS THE FIX scope = IN; } else { scope = OUT; }

// ...

Fix Versions: 0.8
Project: SwitchYard
Priority: Critical Critical
Reporter: David Ward
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira