You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Carlo Camerino <ca...@gmail.com> on 2009/08/04 21:07:49 UTC
Camel Smart Proxy Integration Pattern
Hi,
Does camel implement the smart proxy integration pattern?
Thanks
Re: Camel Smart Proxy Integration Pattern
Posted by Claus Ibsen <cl...@gmail.com>.
On Tue, Aug 4, 2009 at 9:11 PM, Mick Knutson<mk...@baselogic.com> wrote:
> Where is that described?
>
>From the EIP bible
http://www.enterpriseintegrationpatterns.com/SmartProxy.html
> ---
> Thank You…
>
> Mick Knutson, President
>
> BASE Logic, Inc.
> Enterprise Architecture, Design, Mentoring & Agile Consulting
> p. (866) BLiNC-411: (254-6241-1)
> f. (415) 685-4233
>
> Website: http://baselogic.com
> Linked IN: http://linkedin.com/in/mickknutson
> Vacation Rental: http://tahoe.baselogic.com
> ---
>
>
>
> On Tue, Aug 4, 2009 at 3:07 PM, Carlo Camerino <ca...@gmail.com>wrote:
>
>> Hi,
>> Does camel implement the smart proxy integration pattern?
>>
>> Thanks
>>
>
--
Claus Ibsen
Apache Camel Committer
Open Source Integration: http://fusesource.com
Blog: http://davsclaus.blogspot.com/
Twitter: http://twitter.com/davsclaus
Re: Camel Smart Proxy Integration Pattern
Posted by Mick Knutson <mk...@baselogic.com>.
Where is that described?
---
Thank You…
Mick Knutson, President
BASE Logic, Inc.
Enterprise Architecture, Design, Mentoring & Agile Consulting
p. (866) BLiNC-411: (254-6241-1)
f. (415) 685-4233
Website: http://baselogic.com
Linked IN: http://linkedin.com/in/mickknutson
Vacation Rental: http://tahoe.baselogic.com
---
On Tue, Aug 4, 2009 at 3:07 PM, Carlo Camerino <ca...@gmail.com>wrote:
> Hi,
> Does camel implement the smart proxy integration pattern?
>
> Thanks
>
Re: Camel Smart Proxy Integration Pattern
Posted by Willem Jiang <wi...@gmail.com>.
Hi,
camel-jms support the Request/Reply[1] EIP out of box.
In you case, you could let use the polling thread to send the request to
the message queue and wait for the response.
If you want to correlate the request message and response message
yourself in different thread, you need to set up a map of the
correlationID and SOCKET, then your response receiving thread can know
which socket it can use to send the response to tcp/ip system.
[1]http://camel.apache.org/request-reply.html
Willem
Carlo Camerino wrote:
> hi,
> my usecase is somewhat like this,
>
> i'm connecting a legacy system via tcp/ip.
> I plan to multiplex that tcp/ip port by putting in a receiver thread that
> continuously polls the result. requesting threads can sort of queue their
> request and wait for the proper reply.
> while waiting for their reply the requesting threads have to wait until they
> become notified...
>
> i don't know how could this be done yet. i can start a polling consumer from
> the tcp/ip but i'm thinking of how to correlate the response messages with
> the proper waiting request thread.
>
> carlo
>
> On Wed, Aug 5, 2009 at 2:37 PM, Claus Ibsen <cl...@gmail.com> wrote:
>
>> On Tue, Aug 4, 2009 at 9:07 PM, Carlo Camerino<ca...@gmail.com>
>> wrote:
>>> Hi,
>>> Does camel implement the smart proxy integration pattern?
>> There is no specific DSL in Camel that implements the smart proxy.
>>
>> You should be able to use the existing blocks in Camel to assemble the
>> smart proxy.
>>
>> What is your use case?
>>
>>> Thanks
>>>
>>
>>
>> --
>> Claus Ibsen
>> Apache Camel Committer
>>
>> Open Source Integration: http://fusesource.com
>> Blog: http://davsclaus.blogspot.com/
>> Twitter: http://twitter.com/davsclaus
>>
>
Re: Camel Smart Proxy Integration Pattern
Posted by Carlo Camerino <ca...@sxchange.com.ph>.
hi,
my usecase is somewhat like this,
i'm connecting a legacy system via tcp/ip.
I plan to multiplex that tcp/ip port by putting in a receiver thread that
continuously polls the result. requesting threads can sort of queue their
request and wait for the proper reply.
while waiting for their reply the requesting threads have to wait until they
become notified...
i don't know how could this be done yet. i can start a polling consumer from
the tcp/ip but i'm thinking of how to correlate the response messages with
the proper waiting request thread.
carlo
On Wed, Aug 5, 2009 at 2:37 PM, Claus Ibsen <cl...@gmail.com> wrote:
> On Tue, Aug 4, 2009 at 9:07 PM, Carlo Camerino<ca...@gmail.com>
> wrote:
> > Hi,
> > Does camel implement the smart proxy integration pattern?
>
> There is no specific DSL in Camel that implements the smart proxy.
>
> You should be able to use the existing blocks in Camel to assemble the
> smart proxy.
>
> What is your use case?
>
> >
> > Thanks
> >
>
>
>
> --
> Claus Ibsen
> Apache Camel Committer
>
> Open Source Integration: http://fusesource.com
> Blog: http://davsclaus.blogspot.com/
> Twitter: http://twitter.com/davsclaus
>
Re: Camel Smart Proxy Integration Pattern
Posted by Claus Ibsen <cl...@gmail.com>.
On Tue, Aug 4, 2009 at 9:07 PM, Carlo Camerino<ca...@gmail.com> wrote:
> Hi,
> Does camel implement the smart proxy integration pattern?
There is no specific DSL in Camel that implements the smart proxy.
You should be able to use the existing blocks in Camel to assemble the
smart proxy.
What is your use case?
>
> Thanks
>
--
Claus Ibsen
Apache Camel Committer
Open Source Integration: http://fusesource.com
Blog: http://davsclaus.blogspot.com/
Twitter: http://twitter.com/davsclaus