Issue Type: Enhancement Enhancement
Affects Versions: 1.0
Assignee: Ashwin Karpe
Components: core
Created: 10/May/13 10:13 AM
Description:

Add additional fields to message trace output in core/runtime/.../MessageTrace.java :

Consumer : exchange.getConsumer().getName()
Provider : exchange.getProvider().getName()
MEP : exchange.getContract().getConsumerOperation().getExchangePattern()

!!!NOTE!!!
The message trace handler currently executes before the addressing handler, which means exchange.getProvider() will be null during the IN phase. This will likely change in the near future, but for now you'll need a null check in the message trace logic and print out something like [unassigned] for now.

Here's an example (new/changed fields marked with '*'):

------- Begin Message Trace -------
Consumer* -> {urn:switchyard-quickstart:bean-service:0.1.0}OrderService
Provider* -> {urn:switchyard-quickstart:bean-service:0.1.0}OrderService
Operation -> submitOrder
MEP* -> IN_OUT
Phase -> IN
State -> OK
Exchange Context -> 
...
Message Context -> 
...
Message Content -> 
...
------ End Message Trace -------
Fix Versions: 1.0
Project: SwitchYard
Priority: Major Major
Reporter: Keith Babo
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