You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by sharpor <wi...@gmail.com> on 2008/07/15 11:57:56 UTC

[in tutorial #7]How the serviceMix-bean SU links to the serviceMix-http SU?

Following tutorial #7 intermediate, a serviceMix-http consumer su is created
and a serviceMix-bean su is created.Then using a SA to hold them to work
together.
How does this work? 
How the message to the serviceMix-http su knows it will pass to this
serviceMix-bean instead of any other place? are there any place configuring
this?
Thank you.
-- 
View this message in context: http://www.nabble.com/-in-tutorial--7-How-the-serviceMix-bean-SU-links-to-the-serviceMix-http-SU--tp18461611p18461611.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: [in tutorial #7]How the serviceMix-bean SU links to the serviceMix-http SU?

Posted by Bruce Snyder <br...@gmail.com>.
On Tue, Jul 15, 2008 at 8:07 AM, sharpor <wi...@gmail.com> wrote:
>
> Hi Gert,
> This help me a lot!
> What's the scope of the service Name?  In SA or in the whole serviceMix
> container?

A service name and endpoint name combination is registered in the
entire ServiceMIx container. If you are clustering a network of
ServiceMix containers (i.e., two or more ServiceMIx containers) then
the names are registered across the entire cluster.

Bruce
-- 
perl -e 'print unpack("u30","D0G)U8V4\@4VYY9&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/

Blog: http://bruceblog.org/

Re: [in tutorial #7]How the serviceMix-bean SU links to the serviceMix-http SU?

Posted by sharpor <wi...@gmail.com>.
Hi Gert,
This help me a lot!
What's the scope of the service Name?  In SA or in the whole serviceMix
container?
Thank you.


Gert Vanthienen wrote:
> 
> L.S.,
> 
> Just like in the previous tutorials, this is determined by the 
> targetService attribute on the <http:consumer/> endpoint configuration.  
> This configured the http endpoint to send the message to a service named 
> "ex:httphandler", which matches the name defined on the <bean:endpoint/> 
> later on in the tutorial.
> 
> Regards,
> 
> Gert
> 
> sharpor wrote:
>> Following tutorial #7 intermediate, a serviceMix-http consumer su is
>> created
>> and a serviceMix-bean su is created.Then using a SA to hold them to work
>> together.
>> How does this work? 
>> How the message to the serviceMix-http su knows it will pass to this
>> serviceMix-bean instead of any other place? are there any place
>> configuring
>> this?
>> Thank you.
>>   
> 
> 
> 
> -----
> ---
> Gert Vanthienen
> http://www.anova.be
> 

-- 
View this message in context: http://www.nabble.com/-in-tutorial--7-How-the-serviceMix-bean-SU-links-to-the-serviceMix-http-SU--tp18461611p18466153.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: [in tutorial #7]How the serviceMix-bean SU links to the serviceMix-http SU?

Posted by Gert Vanthienen <ge...@skynet.be>.
L.S.,

Just like in the previous tutorials, this is determined by the 
targetService attribute on the <http:consumer/> endpoint configuration.  
This configured the http endpoint to send the message to a service named 
"ex:httphandler", which matches the name defined on the <bean:endpoint/> 
later on in the tutorial.

Regards,

Gert

sharpor wrote:
> Following tutorial #7 intermediate, a serviceMix-http consumer su is created
> and a serviceMix-bean su is created.Then using a SA to hold them to work
> together.
> How does this work? 
> How the message to the serviceMix-http su knows it will pass to this
> serviceMix-bean instead of any other place? are there any place configuring
> this?
> Thank you.
>