[
https://issues.apache.org/jira/browse/CAMEL-4333?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen resolved CAMEL-4333.
--------------------------------
Resolution: Fixed
> Add wereSentTo to NotifyBuilder to match if exchange was sent to the given
> endpoint pattern
> -------------------------------------------------------------------------------------------
>
> Key: CAMEL-4333
> URL: https://issues.apache.org/jira/browse/CAMEL-4333
> Project: Camel
> Issue Type: Improvement
> Components: camel-core
> Affects Versions: 2.8.0
> Reporter: Claus Ibsen
> Assignee: Claus Ibsen
> Priority: Minor
> Fix For: 2.9.0
>
>
> See nabble
> http://camel.465427.n5.nabble.com/NotifyBuilder-condition-fails-to-match-on-an-out-activemq-endpoint-tp4689038p4689038.html
> You can now do
> {code}
> NotifyBuilder notify = new NotifyBuilder(context)
> .wereSentTo("mock:foo")
> .create();
> {code}
> To only match if the exchange was at any point sent to the given endpoint
> (the uri can be a pattern)
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira