You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by beppe82 <gi...@gmail.com> on 2007/07/14 16:29:25 UTC
servicemix-http
Hi, can you explain me the difference between the proxied endpoint and the
targetEndpoint (targetService)?
Thanks
--
View this message in context: http://www.nabble.com/servicemix-http-tf4079288s12049.html#a11594281
Sent from the ServiceMix - User mailing list archive at Nabble.com.
Re: servicemix-http
Posted by Bruce Snyder <br...@gmail.com>.
On 7/18/07, beppe82 <gi...@gmail.com> wrote:
>
> If you look at the table where the attributes are explained, it says that
> "service" and "endpoint" refers to the proxied endpoint, while
> "targetService" refers to the target... I think that the proxied endpoint is
> the component which implements the BC, not the target endpoint. It's where
> the HTTP message is normalized before being sent to the targetService
> through the NMR, do you agree?
The service, endpoint and interfaceName attributes are for the SU that
is being configured. The targetService, targetEndpoint and
targetInterfaceName refer to the service to receive messages from the
SU being configured.
I see now how Guillaume has used the term proxied. He's talking about
the service that serves the proxy. There is a diagram at the URL below
that I used to explain these concepts:
http://incubator.apache.org/servicemix/5-jbi.html#5.JBI-Consumersandproviders
In the diagram, the servicemix-http consumer SU and the
servicemix-http provider SU would be what Guillaume referred to as the
proxied endpoint.
Bruce
--
perl -e 'print unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'
Apache Geronimo - http://geronimo.apache.org/
Apache ActiveMQ - http://activemq.org/
Apache ServiceMix - http://servicemix.org/
Castor - http://castor.org/
Re: servicemix-http
Posted by beppe82 <gi...@gmail.com>.
If you look at the table where the attributes are explained, it says that
"service" and "endpoint" refers to the proxied endpoint, while
"targetService" refers to the target... I think that the proxied endpoint is
the component which implements the BC, not the target endpoint. It's where
the HTTP message is normalized before being sent to the targetService
through the NMR, do you agree?
Bye, Giuseppe
bsnyder wrote:
>
> On 7/18/07, beppe82 <gi...@gmail.com> wrote:
>>
>> ... but in the guide there's written that a proxied endpoint is also used
>> for
>> consumers...
>>
>> "A consumer endpoint is a server-side http endpoint that will consumer
>> plain
>> HTTP, or HTTP+SOAP requests and send them into the NMR to a given JBI
>> endpoint, which is called the proxied endpoint."
>
> Yes, that is also true I guess because the HTTP consumer is simply
> receiving requests and sending them along to its target, i.e., the
> proxied endpoint.
>
> Bruce
> --
> perl -e 'print
> unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
> );'
>
> Apache Geronimo - http://geronimo.apache.org/
> Apache ActiveMQ - http://activemq.org/
> Apache ServiceMix - http://servicemix.org/
> Castor - http://castor.org/
>
>
--
View this message in context: http://www.nabble.com/servicemix-http-tf4079288s12049.html#a11670422
Sent from the ServiceMix - User mailing list archive at Nabble.com.
Re: servicemix-http
Posted by Bruce Snyder <br...@gmail.com>.
On 7/18/07, beppe82 <gi...@gmail.com> wrote:
>
> ... but in the guide there's written that a proxied endpoint is also used for
> consumers...
>
> "A consumer endpoint is a server-side http endpoint that will consumer plain
> HTTP, or HTTP+SOAP requests and send them into the NMR to a given JBI
> endpoint, which is called the proxied endpoint."
Yes, that is also true I guess because the HTTP consumer is simply
receiving requests and sending them along to its target, i.e., the
proxied endpoint.
Bruce
--
perl -e 'print unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'
Apache Geronimo - http://geronimo.apache.org/
Apache ActiveMQ - http://activemq.org/
Apache ServiceMix - http://servicemix.org/
Castor - http://castor.org/
Re: servicemix-http
Posted by beppe82 <gi...@gmail.com>.
... but in the guide there's written that a proxied endpoint is also used for
consumers...
"A consumer endpoint is a server-side http endpoint that will consumer plain
HTTP, or HTTP+SOAP requests and send them into the NMR to a given JBI
endpoint, which is called the proxied endpoint."
Thanks, Giuseppe
bsnyder wrote:
>
> On 7/14/07, beppe82 <gi...@gmail.com> wrote:
>>
>> Hi, can you explain me the difference between the proxied endpoint and
>> the
>> targetEndpoint (targetService)?
>
> A proxied endpoint is what you get when you use the servicemix-http
> component as a provider. It is simply proxying to the external
> locationURI that you specify in the xbean.xml file.
>
> A targetEndpoint is used to specify the name of the endpoint to which
> messages should be sent.
>
> Does that help?
>
> Bruce
> --
> perl -e 'print
> unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
> );'
>
> Apache Geronimo - http://geronimo.apache.org/
> Apache ActiveMQ - http://activemq.org/
> Apache ServiceMix - http://servicemix.org/
> Castor - http://castor.org/
>
>
--
View this message in context: http://www.nabble.com/servicemix-http-tf4079288s12049.html#a11663360
Sent from the ServiceMix - User mailing list archive at Nabble.com.
Re: servicemix-http
Posted by Bruce Snyder <br...@gmail.com>.
On 7/14/07, beppe82 <gi...@gmail.com> wrote:
>
> Hi, can you explain me the difference between the proxied endpoint and the
> targetEndpoint (targetService)?
A proxied endpoint is what you get when you use the servicemix-http
component as a provider. It is simply proxying to the external
locationURI that you specify in the xbean.xml file.
A targetEndpoint is used to specify the name of the endpoint to which
messages should be sent.
Does that help?
Bruce
--
perl -e 'print unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'
Apache Geronimo - http://geronimo.apache.org/
Apache ActiveMQ - http://activemq.org/
Apache ServiceMix - http://servicemix.org/
Castor - http://castor.org/