[
https://issues.apache.org/jira/browse/CAMEL-5057?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen reassigned CAMEL-5057:
----------------------------------
Assignee: james strachan (was: Claus Ibsen)
> A new stub component for easily unit testing with sending messages to/from an
> in-memory message queued endpoint
> ---------------------------------------------------------------------------------------------------------------
>
> Key: CAMEL-5057
> URL: https://issues.apache.org/jira/browse/CAMEL-5057
> Project: Camel
> Issue Type: New Feature
> Components: camel-core
> Reporter: Claus Ibsen
> Assignee: james strachan
> Fix For: 2.10.0
>
>
> It should be based on the seda component, but accept any parameters, so you
> can easily stub existing endpoints.
> {code}
> from("stub:smtp:mailserver")
> .to("bean:transform")
> .to("stub:cxf:blah");
> {code}
> eg using the stub scheme, then you can easily stub the existing endpoints,
> and have a unit testing up and running, without the need for real components.
> The mock component can partially do this, but its used for assertions, and
> you cannot consume from it.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira