You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Gert Vanthienen (JIRA)" <ji...@apache.org> on 2009/09/03 09:12:12 UTC
[jira] Created: (SM-1890) Improve MockExchangeFactory so the mock
exchanges have a MEP and exchange id
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.2
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.
[jira] Updated: (SM-1890) Improve MockExchangeFactory so the mock
exchanges have a MEP and exchange id
Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
[ 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.