On Fri, Apr 18, 2008 at 10:22 AM, kai0411 <[EMAIL PROTECTED]> wrote:
>
>  my BC is a consumer, reading input through socket (TCP/IP) from outside
>  world. After converting input to a XML message, I need to create a deliver
>  channel to 'send' it to bus.
>  My question: how to create a deliver channel from scratch?

There's no need to create a delivery channel from scratch. You can
simply grab it from the ComponentContext. See the
ComponentContext.getDeliveryChannel() method:

Bruce
-- 
perl -e 'print unpack("u30","D0G)[EMAIL 
PROTECTED]&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'

Apache ActiveMQ - http://activemq.org/
Apache Camel - http://activemq.org/camel/
Apache ServiceMix - http://servicemix.org/
Apache Geronimo - http://geronimo.apache.org/

Blog: http://bruceblog.org/

Reply via email to