Thanks Guillaume,
Please let me know the following my understanding as stated below is right.

  1. JMS component picks up messages from the Queue based on the queue
  name specified in the jmsProviderDestinationName attribute of the
  jms:endpoint
  2. Messages are routed to a provider service endpoint  (specified
  using targetInterfaceName/targetService/targetEndpoint attirbute in the
  jms:endpoint) the thru the NMR .

Thanks again,
William

On 6/20/06, Guillaume Nodet <[EMAIL PROTECTED]> wrote:

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