Declare a Delivery Channel with the @Resource annotation and then use
the DC to create a ME, set the data and message and then send it.
Have fun
Andreas Schaefer
CEO of Madplanet.com Inc.
[EMAIL PROTECTED]
On Nov 1, 2007, at 1:53 PM, Learn Learn wrote:
Hi,
Can a Servicemix-bean endpoint call other endpoints? I realise that
if we
implement the MessageExchangeListener, we wouldn't be able to do
so...nothing present in the MessageExchange object to set my target
Destination too..is there any other way of doing it?
I need to do some routing in my Bean component (messages not XML
based)
based on some business logic and decide my next in chain based on
what my
routing logic evaluates to...similarly, if there is an exception
somewhere,
I need to route to a ExceptionListener that we have that massages our
exception trace into a more amiable message..
Let me know if this can be done...if somebody has already done this
and has
a little code to share, wonderful...
Thanks a lot for your help..
Victor
--
View this message in context:
http://www.nabble.com/ServiceMix-Bean-endpoint-calling-other-endpoints...-tf4733999s12049.html#a13537231
Sent from the ServiceMix - User mailing list archive at Nabble.com.