You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by xiangqiuzhao <xi...@gmail.com> on 2011/12/14 04:39:26 UTC

how to extend the component?

i wan't to use camel-jms component,but my application must implements some
strategies to hander the big message, like how to merge some small message
to a whole message.

so i want to extend the camel-jms, if i create a new camel-myjms component
and the MyProducer extend JmsProducer, MyConsumer extend JmsConsumer, is ok?

--
View this message in context: http://camel.465427.n5.nabble.com/how-to-extend-the-component-tp5073447p5073447.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: how to extend the component?

Posted by xiangqiuzhao <xi...@gmail.com>.
how to implement the synchronized communicate by camel-jms ? i need to extend
JmsProducer and override the process method?

--
View this message in context: http://camel.465427.n5.nabble.com/how-to-extend-the-component-tp5073447p5073527.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: how to extend the component?

Posted by Claus Ibsen <cl...@gmail.com>.
On Wed, Dec 14, 2011 at 4:39 AM, xiangqiuzhao <xi...@gmail.com> wrote:
> i wan't to use camel-jms component,but my application must implements some
> strategies to hander the big message, like how to merge some small message
> to a whole message.
>
> so i want to extend the camel-jms, if i create a new camel-myjms component
> and the MyProducer extend JmsProducer, MyConsumer extend JmsConsumer, is ok?
>

Yep its just Java code, so extend the component as you would extend
any other Java classes.


> --
> View this message in context: http://camel.465427.n5.nabble.com/how-to-extend-the-component-tp5073447p5073447.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
FuseSource
Email: cibsen@fusesource.com
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.blogspot.com/
Author of Camel in Action: http://www.manning.com/ibsen/