[
https://issues.apache.org/jira/browse/SM-1890?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gert Vanthienen updated SM-1890:
--------------------------------
Affects Version/s: (was: 3.3.1)
servicemix-utils-1.3.0
Fix Version/s: (was: 3.3.3)
servicemix-utils-1.4.0
> Improve MockExchangeFactory so the mock exchanges have a MEP and exchange id
> ----------------------------------------------------------------------------
>
> Key: SM-1890
> URL: https://issues.apache.org/jira/browse/SM-1890
> Project: ServiceMix
> Issue Type: Improvement
> Components: servicemix-utils
> Affects Versions: servicemix-utils-1.3.0
> Reporter: Gert Vanthienen
> Assignee: Gert Vanthienen
> Priority: Minor
> Fix For: servicemix-utils-1.4.0
>
> Attachments: SM-1890-patch.txt
>
>
> servicemix-util has a MockExchangeFactory which can help you write unit
> tests, however the mock exchanges it creates are missing a mep and exchange
> id:
> {code}
> ExchangeFactory factory = new MockExchangeFactory();
> MessageExchange exchange = factory.createInOnlyExchange();
> exchange.getExchangeId() -> returns null
> exchange.getPattern() -> returns null
> {code}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.