You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by kumar k <ku...@yahoo.com> on 2007/08/29 08:59:11 UTC

multiple target end points for jms consumer?

Is is possible to have multiple target end points for jms consumer like this one? OR I need to go for eip?
  <sm:activationSpec componentName="MySecondConsumer" service="sub2:MySecondConsumer">
    <sm:component>
     <jms:component>
      <jms:endpoints>
       <jms:endpoint service="sub2:MySecondConsumer"
        endpoint="MySecondConsumer"
        targetService="test2:myservice,test5:bean2service"
        targetEndpoint="endpoint,endpointbean2"
        role="consumer"
        destinationStyle="topic"
        jmsProviderDestinationName="demo.org.servicemix.result"
        defaultMep="http://www.w3.org/2004/08/wsdl/in-out"
        connectionFactory="#connectionFactory" />
      </jms:endpoints>
     </jms:component>
    </sm:component>
   </sm:activationSpec>

       
---------------------------------
Got a little couch potato? 
Check out fun summer activities for kids.

Re: multiple target end points for jms consumer?

Posted by kumar k <ku...@yahoo.com>.
My purpose is to configure multiple subscribers for a topic. Is EIP best way to do it? 

Nodet Guillaume <gn...@gmail.com> wrote:  You can't.
In this case, what would you do: send two InOut to the services ?
and what about the responses ?
Try using the EIP component instead.

On Aug 29, 2007, at 8:59 AM, kumar k wrote:

> Is is possible to have multiple target end points for jms consumer 
> like this one? OR I need to go for eip?
> > service="sub2:MySecondConsumer">
> 
> 
> 
> > endpoint="MySecondConsumer"
> targetService="test2:myservice,test5:bean2service"
> targetEndpoint="endpoint,endpointbean2"
> role="consumer"
> destinationStyle="topic"
> jmsProviderDestinationName="demo.org.servicemix.result"
> defaultMep="http://www.w3.org/2004/08/wsdl/in-out"
> connectionFactory="#connectionFactory" />
> 
> 
> 
> 
>
>
> ---------------------------------
> Got a little couch potato?
> Check out fun summer activities for kids.

-- 
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/



       
---------------------------------
Got a little couch potato? 
Check out fun summer activities for kids.
       
---------------------------------
Be a better Heartthrob. Get better relationship answers from someone who knows.
Yahoo! Answers - Check it out. 

Re: multiple target end points for jms consumer?

Posted by kumar k <ku...@yahoo.com>.
My purpose is to configure multiple subscribers for a topic. Is EIP best way to do it? 


Nodet Guillaume <gn...@gmail.com> wrote:  You can't.
In this case, what would you do: send two InOut to the services ?
and what about the responses ?
Try using the EIP component instead.

On Aug 29, 2007, at 8:59 AM, kumar k wrote:

> Is is possible to have multiple target end points for jms consumer 
> like this one? OR I need to go for eip?
> > service="sub2:MySecondConsumer">
> 
> 
> 
> > endpoint="MySecondConsumer"
> targetService="test2:myservice,test5:bean2service"
> targetEndpoint="endpoint,endpointbean2"
> role="consumer"
> destinationStyle="topic"
> jmsProviderDestinationName="demo.org.servicemix.result"
> defaultMep="http://www.w3.org/2004/08/wsdl/in-out"
> connectionFactory="#connectionFactory" />
> 
> 
> 
> 
>
>
> ---------------------------------
> Got a little couch potato?
> Check out fun summer activities for kids.

-- 
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/



       
---------------------------------
Be a better Heartthrob. Get better relationship answers from someone who knows.
Yahoo! Answers - Check it out. 
       
---------------------------------
Moody friends. Drama queens. Your life? Nope! - their life, your story.
 Play Sims Stories at Yahoo! Games. 

Re: multiple target end points for jms consumer?

Posted by Nodet Guillaume <gn...@gmail.com>.
You can't.
In this case, what would you do: send two InOut to the services ?
and what about the responses ?
Try using the EIP component instead.

On Aug 29, 2007, at 8:59 AM, kumar k wrote:

> Is is possible to have multiple target end points for jms consumer  
> like this one? OR I need to go for eip?
>   <sm:activationSpec componentName="MySecondConsumer"  
> service="sub2:MySecondConsumer">
>     <sm:component>
>      <jms:component>
>       <jms:endpoints>
>        <jms:endpoint service="sub2:MySecondConsumer"
>         endpoint="MySecondConsumer"
>         targetService="test2:myservice,test5:bean2service"
>         targetEndpoint="endpoint,endpointbean2"
>         role="consumer"
>         destinationStyle="topic"
>         jmsProviderDestinationName="demo.org.servicemix.result"
>         defaultMep="http://www.w3.org/2004/08/wsdl/in-out"
>         connectionFactory="#connectionFactory" />
>       </jms:endpoints>
>      </jms:component>
>     </sm:component>
>    </sm:activationSpec>
>
>
> ---------------------------------
> Got a little couch potato?
> Check out fun summer activities for kids.

-- 
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/