[ 
https://issues.apache.org/jira/browse/SM-1890?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gert Vanthienen resolved SM-1890.
---------------------------------

    Resolution: Fixed
      Assignee: Gert Vanthienen

Fixed in http://svn.apache.org/viewvc?view=revision&revision=1049827.
Thanks to Ioannis for providing this patch!

> 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: 3.3.1
>            Reporter: Gert Vanthienen
>            Assignee: Gert Vanthienen
>            Priority: Minor
>             Fix For: 3.3.3
>
>         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.

Reply via email to