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

Jean-Baptiste Onofré updated SM-1890:
-------------------------------------

    Fix Version/s: 3.3.3
                       (was: 3.3.2)

> Improve MockExchangeFactory so the mock exchanges have a MEP and exchange id
> ----------------------------------------------------------------------------
>
>                 Key: SM-1890
>                 URL: https://issues.apache.org/activemq/browse/SM-1890
>             Project: ServiceMix
>          Issue Type: Improvement
>          Components: servicemix-utils
>    Affects Versions: 3.3.1
>            Reporter: Gert Vanthienen
>            Priority: Minor
>             Fix For: 3.3.3
>
>
> 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