You can specify either targetInterfaceName or targetService (plus optional
targetEndpoint), which will identify the target interface / service /
endpoint.  If you do not specify these, the component will assume that
exchanges should be sent to the service/endpoint name specified on the
jms:endpoint.
Note that a jbi exchange is not sent to a component but to a jbi endpoint
(which may be selected implicitly if you use an interface or a service
name).

See http://servicemix.goopen.org/site/servicemix-jms.html (sorry, but we
currently have problems with code examples on the web site...)

Cheers,
Guillaume Nodet

On 6/20/06, william kane <[EMAIL PROTECTED]> wrote:

Hi,
I am trying to use servicemix-jms component as consumer that will read
messages from a external JMS queue and route the messages to a provider
component that will invoke a webservice.
I have used xbean.xml( for my jms:endpoint) and jbi.xml the create my su
and
sa.
Can anyone please let me know the attribute that i need to set in
jms:endpoint that will specfy the  name of the destination component to
which the NMR should route the message?
Thanks in advance,
William kane


Reply via email to