You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by javamonkey79 <ja...@gmail.com> on 2013/06/18 01:18:14 UTC

consumer\producer only endpoint

With custom endpoints that have only a producer or only a consumer, do you
just return null in the endpoint class, or is there something special you
have to do?

Thanks!



--
View this message in context: http://camel.465427.n5.nabble.com/consumer-producer-only-endpoint-tp5734268.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: consumer\producer only endpoint

Posted by Claus Ibsen <cl...@gmail.com>.
The practice is to thrown an unsupported operation exception etc.



On Tue, Jun 18, 2013 at 1:18 AM, javamonkey79 <ja...@gmail.com> wrote:
> With custom endpoints that have only a producer or only a consumer, do you
> just return null in the endpoint class, or is there something special you
> have to do?
>
> Thanks!
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/consumer-producer-only-endpoint-tp5734268.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
www.camelone.org: The open source integration conference.

Red Hat, Inc.
FuseSource is now part of Red Hat
Email: cibsen@redhat.com
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen