send/callout mediator

View: New views
8 Messages — Rating Filter:   Alert me  

send/callout mediator

by Harm Verhagen-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

What exactly is the difference between the callout and send mediator.
They seem similar to me.
Do you have a typical forseen usage example for both ?


Regards,
Harm

_______________________________________________
Esb-java-user mailing list
Esb-java-user@...
https://wso2.org/cgi-bin/mailman/listinfo/esb-java-user

Re: send/callout mediator

by Paul Fremantle-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Harm

The callout mediator is blocking. Its designed to be used within a
flow, before sending the message on. The send mediator is non-blocking
and is usually used at the end of a message flow. Does that clarify
it?

Regards
Paul

2009/8/24 Harm Verhagen <harm.verhagen@...>:

> What exactly is the difference between the callout and send mediator.
> They seem similar to me.
> Do you have a typical forseen usage example for both ?
>
>
> Regards,
> Harm
>
> _______________________________________________
> Esb-java-user mailing list
> Esb-java-user@...
> https://wso2.org/cgi-bin/mailman/listinfo/esb-java-user
>
>



--

--
Paul Fremantle
CTO and Co-Founder, WSO2
OASIS WS-RX TC Co-chair
VP, Apache Synapse

Office: +44 844 484 8143
Cell: +44 798 447 4618

blog: http://pzf.fremantle.org
paul@...

"Oxygenating the Web Service Platform", www.wso2.com

_______________________________________________
Esb-java-user mailing list
Esb-java-user@...
https://wso2.org/cgi-bin/mailman/listinfo/esb-java-user

Re: send/callout mediator

by Harm Verhagen-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Yes,
Thats clear.

A related question.
It seems however that with callout mediators, you're forced to used a fixed URL (fixed string), instead of an endpoint. Is that intentional ?

Regards,
Harm

On Mon, Aug 24, 2009 at 2:50 PM, Paul Fremantle <paul@...> wrote:
Harm

The callout mediator is blocking. Its designed to be used within a
flow, before sending the message on. The send mediator is non-blocking
and is usually used at the end of a message flow. Does that clarify
it?

Regards
Paul

2009/8/24 Harm Verhagen <harm.verhagen@...>:
> What exactly is the difference between the callout and send mediator.
> They seem similar to me.
> Do you have a typical forseen usage example for both ?
>
>
> Regards,
> Harm
>
> _______________________________________________
> Esb-java-user mailing list
> Esb-java-user@...
> https://wso2.org/cgi-bin/mailman/listinfo/esb-java-user
>
>



--

--
Paul Fremantle
CTO and Co-Founder, WSO2
OASIS WS-RX TC Co-chair
VP, Apache Synapse

Office: +44 844 484 8143
Cell: +44 798 447 4618

blog: http://pzf.fremantle.org
paul@...

"Oxygenating the Web Service Platform", www.wso2.com

_______________________________________________
Esb-java-user mailing list
Esb-java-user@...
https://wso2.org/cgi-bin/mailman/listinfo/esb-java-user


_______________________________________________
Esb-java-user mailing list
Esb-java-user@...
https://wso2.org/cgi-bin/mailman/listinfo/esb-java-user

Re: send/callout mediator

by Ruwan Linton-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Harm Verhagen wrote:
> Yes,
> Thats clear.
>
> A related question.
> It seems however that with callout mediators, you're forced to used a
> fixed URL (fixed string), instead of an endpoint. Is that intentional ?
We could improve the callout mediator to provide the EPR as an endpoint.
It was intentional to keep it simple, because we did it originally for a
customer requirement but of course it should be improved to support
endpoint specifying all other properties of the EPR apart from the
address; for example like QoS options and so on.

Thanks,
Ruwan

>
> Regards,
> Harm
>
> On Mon, Aug 24, 2009 at 2:50 PM, Paul Fremantle <paul@...
> <mailto:paul@...>> wrote:
>
>     Harm
>
>     The callout mediator is blocking. Its designed to be used within a
>     flow, before sending the message on. The send mediator is non-blocking
>     and is usually used at the end of a message flow. Does that clarify
>     it?
>
>     Regards
>     Paul
>
>     2009/8/24 Harm Verhagen <harm.verhagen@...
>     <mailto:harm.verhagen@...>>:
>     > What exactly is the difference between the callout and send
>     mediator.
>     > They seem similar to me.
>     > Do you have a typical forseen usage example for both ?
>     >
>     >
>     > Regards,
>     > Harm
>     >
>     > _______________________________________________
>     > Esb-java-user mailing list
>     > Esb-java-user@... <mailto:Esb-java-user@...>
>     > https://wso2.org/cgi-bin/mailman/listinfo/esb-java-user
>     >
>     >
>
>
>
>     --
>
>     --
>     Paul Fremantle
>     CTO and Co-Founder, WSO2
>     OASIS WS-RX TC Co-chair
>     VP, Apache Synapse
>
>     Office: +44 844 484 8143
>     Cell: +44 798 447 4618
>
>     blog: http://pzf.fremantle.org
>     paul@... <mailto:paul@...>
>
>     "Oxygenating the Web Service Platform", www.wso2.com
>     <http://www.wso2.com>
>
>     _______________________________________________
>     Esb-java-user mailing list
>     Esb-java-user@... <mailto:Esb-java-user@...>
>     https://wso2.org/cgi-bin/mailman/listinfo/esb-java-user
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Esb-java-user mailing list
> Esb-java-user@...
> https://wso2.org/cgi-bin/mailman/listinfo/esb-java-user
>  


--
Ruwan Linton
Technical Lead & Product Manager; WSO2 ESB; http://wso2.org/esb
WSO2 Inc.; http://wso2.org
email: ruwan@...; cell: +94 77 341 3097
blog: http://blog.ruwan.org



_______________________________________________
Esb-java-user mailing list
Esb-java-user@...
https://wso2.org/cgi-bin/mailman/listinfo/esb-java-user

Re: send/callout mediator

by Harm Verhagen-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Paul wrote:
>The callout mediator is blocking. Its designed to be used within a
>flow, before sending the message on. The send mediator is non-blocking
>and is usually used at the end of a message flow. Does that clarify
>it?
Harm wrote
>Yes,
>Thats clear.

Thinking again. Actually its not 100% clear yet :)

When waiting for an answer, a send mediator is also blocking, right ?  (as in, it blocks till it gets the answer).
Then whats the difference ?

Regards,
Harm

On Mon, Aug 24, 2009 at 3:05 PM, Harm Verhagen <harm.verhagen@...> wrote:
Yes,
Thats clear.

A related question.
It seems however that with callout mediators, you're forced to used a fixed URL (fixed string), instead of an endpoint. Is that intentional ?

Regards,
Harm


On Mon, Aug 24, 2009 at 2:50 PM, Paul Fremantle <paul@...> wrote:
Harm

The callout mediator is blocking. Its designed to be used within a
flow, before sending the message on. The send mediator is non-blocking
and is usually used at the end of a message flow. Does that clarify
it?

Regards
Paul

2009/8/24 Harm Verhagen <harm.verhagen@...>:
> What exactly is the difference between the callout and send mediator.
> They seem similar to me.
> Do you have a typical forseen usage example for both ?
>
>
> Regards,
> Harm
>
> _______________________________________________
> Esb-java-user mailing list
> Esb-java-user@...
> https://wso2.org/cgi-bin/mailman/listinfo/esb-java-user
>
>



--

--
Paul Fremantle
CTO and Co-Founder, WSO2
OASIS WS-RX TC Co-chair
VP, Apache Synapse

Office: +44 844 484 8143
Cell: +44 798 447 4618

blog: http://pzf.fremantle.org
paul@...

"Oxygenating the Web Service Platform", www.wso2.com

_______________________________________________
Esb-java-user mailing list
Esb-java-user@...
https://wso2.org/cgi-bin/mailman/listinfo/esb-java-user



_______________________________________________
Esb-java-user mailing list
Esb-java-user@...
https://wso2.org/cgi-bin/mailman/listinfo/esb-java-user

Re: send/callout mediator

by Paul Fremantle-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Harm

The send mediator doesn't block. The response message goes through a
different flow.

Paul

2009/8/25 Harm Verhagen <harm.verhagen@...>:

> Paul wrote:
>>The callout mediator is blocking. Its designed to be used within a
>>flow, before sending the message on. The send mediator is non-blocking
>>and is usually used at the end of a message flow. Does that clarify
>>it?
> Harm wrote
>>Yes,
>>Thats clear.
>
> Thinking again. Actually its not 100% clear yet :)
>
> When waiting for an answer, a send mediator is also blocking, right ?  (as
> in, it blocks till it gets the answer).
> Then whats the difference ?
>
> Regards,
> Harm
>
> On Mon, Aug 24, 2009 at 3:05 PM, Harm Verhagen <harm.verhagen@...>
> wrote:
>>
>> Yes,
>> Thats clear.
>>
>> A related question.
>> It seems however that with callout mediators, you're forced to used a
>> fixed URL (fixed string), instead of an endpoint. Is that intentional ?
>>
>> Regards,
>> Harm
>>
>> On Mon, Aug 24, 2009 at 2:50 PM, Paul Fremantle <paul@...> wrote:
>>>
>>> Harm
>>>
>>> The callout mediator is blocking. Its designed to be used within a
>>> flow, before sending the message on. The send mediator is non-blocking
>>> and is usually used at the end of a message flow. Does that clarify
>>> it?
>>>
>>> Regards
>>> Paul
>>>
>>> 2009/8/24 Harm Verhagen <harm.verhagen@...>:
>>> > What exactly is the difference between the callout and send mediator.
>>> > They seem similar to me.
>>> > Do you have a typical forseen usage example for both ?
>>> >
>>> >
>>> > Regards,
>>> > Harm
>>> >
>>> > _______________________________________________
>>> > Esb-java-user mailing list
>>> > Esb-java-user@...
>>> > https://wso2.org/cgi-bin/mailman/listinfo/esb-java-user
>>> >
>>> >
>>>
>>>
>>>
>>> --
>>>
>>> --
>>> Paul Fremantle
>>> CTO and Co-Founder, WSO2
>>> OASIS WS-RX TC Co-chair
>>> VP, Apache Synapse
>>>
>>> Office: +44 844 484 8143
>>> Cell: +44 798 447 4618
>>>
>>> blog: http://pzf.fremantle.org
>>> paul@...
>>>
>>> "Oxygenating the Web Service Platform", www.wso2.com
>>>
>>> _______________________________________________
>>> Esb-java-user mailing list
>>> Esb-java-user@...
>>> https://wso2.org/cgi-bin/mailman/listinfo/esb-java-user
>>
>
>
> _______________________________________________
> Esb-java-user mailing list
> Esb-java-user@...
> https://wso2.org/cgi-bin/mailman/listinfo/esb-java-user
>
>



--

--
Paul Fremantle
CTO and Co-Founder, WSO2
OASIS WS-RX TC Co-chair
VP, Apache Synapse

Office: +44 844 484 8143
Cell: +44 798 447 4618

blog: http://pzf.fremantle.org
paul@...

"Oxygenating the Web Service Platform", www.wso2.com

_______________________________________________
Esb-java-user mailing list
Esb-java-user@...
https://wso2.org/cgi-bin/mailman/listinfo/esb-java-user

Re: send/callout mediator

by Harm Verhagen-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

ref: https://issues.apache.org/jira/browse/SYNAPSE-575

On Mon, Aug 24, 2009 at 4:50 PM, Ruwan Linton <ruwan@...> wrote:
Harm Verhagen wrote:
> Yes,
> Thats clear.
>
> A related question.
> It seems however that with callout mediators, you're forced to used a
> fixed URL (fixed string), instead of an endpoint. Is that intentional ?
We could improve the callout mediator to provide the EPR as an endpoint.
It was intentional to keep it simple, because we did it originally for a
customer requirement but of course it should be improved to support
endpoint specifying all other properties of the EPR apart from the
address; for example like QoS options and so on.

Thanks,
Ruwan
>
> Regards,
> Harm
>
> On Mon, Aug 24, 2009 at 2:50 PM, Paul Fremantle <paul@...
> <mailto:paul@...>> wrote:
>
>     Harm
>
>     The callout mediator is blocking. Its designed to be used within a
>     flow, before sending the message on. The send mediator is non-blocking
>     and is usually used at the end of a message flow. Does that clarify
>     it?
>
>     Regards
>     Paul
>
>     2009/8/24 Harm Verhagen <harm.verhagen@...
>     <mailto:harm.verhagen@...>>:
>     > What exactly is the difference between the callout and send
>     mediator.
>     > They seem similar to me.
>     > Do you have a typical forseen usage example for both ?
>     >
>     >
>     > Regards,
>     > Harm
>     >
>     > _______________________________________________
>     > Esb-java-user mailing list
>     > Esb-java-user@... <mailto:Esb-java-user@...>
>     > https://wso2.org/cgi-bin/mailman/listinfo/esb-java-user
>     >
>     >
>
>
>
>     --
>
>     --
>     Paul Fremantle
>     CTO and Co-Founder, WSO2
>     OASIS WS-RX TC Co-chair
>     VP, Apache Synapse
>
>     Office: +44 844 484 8143
>     Cell: +44 798 447 4618
>
>     blog: http://pzf.fremantle.org
>     paul@... <mailto:paul@...>
>
>     "Oxygenating the Web Service Platform", www.wso2.com
>     <http://www.wso2.com>
>
>     _______________________________________________
>     Esb-java-user mailing list
>     Esb-java-user@... <mailto:Esb-java-user@...>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Esb-java-user mailing list
> Esb-java-user@...
> https://wso2.org/cgi-bin/mailman/listinfo/esb-java-user
>


--
Ruwan Linton
Technical Lead & Product Manager; WSO2 ESB; http://wso2.org/esb
WSO2
Inc.; http://wso2.org
email: ruwan@...; cell: +94 77 341 3097
blog: http://blog.ruwan.org



_______________________________________________
Esb-java-user mailing list
Esb-java-user@...
https://wso2.org/cgi-bin/mailman/listinfo/esb-java-user


_______________________________________________
Esb-java-user mailing list
Esb-java-user@...
https://wso2.org/cgi-bin/mailman/listinfo/esb-java-user

Re: send/callout mediator

by Paul Fremantle-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks!

Paul

2009/8/25 Harm Verhagen <harm.verhagen@...>:

> ref: https://issues.apache.org/jira/browse/SYNAPSE-575
>
> On Mon, Aug 24, 2009 at 4:50 PM, Ruwan Linton <ruwan@...> wrote:
>>
>> Harm Verhagen wrote:
>> > Yes,
>> > Thats clear.
>> >
>> > A related question.
>> > It seems however that with callout mediators, you're forced to used a
>> > fixed URL (fixed string), instead of an endpoint. Is that intentional ?
>> We could improve the callout mediator to provide the EPR as an endpoint.
>> It was intentional to keep it simple, because we did it originally for a
>> customer requirement but of course it should be improved to support
>> endpoint specifying all other properties of the EPR apart from the
>> address; for example like QoS options and so on.
>>
>> Thanks,
>> Ruwan
>> >
>> > Regards,
>> > Harm
>> >
>> > On Mon, Aug 24, 2009 at 2:50 PM, Paul Fremantle <paul@...
>> > <mailto:paul@...>> wrote:
>> >
>> >     Harm
>> >
>> >     The callout mediator is blocking. Its designed to be used within a
>> >     flow, before sending the message on. The send mediator is
>> > non-blocking
>> >     and is usually used at the end of a message flow. Does that clarify
>> >     it?
>> >
>> >     Regards
>> >     Paul
>> >
>> >     2009/8/24 Harm Verhagen <harm.verhagen@...
>> >     <mailto:harm.verhagen@...>>:
>> >     > What exactly is the difference between the callout and send
>> >     mediator.
>> >     > They seem similar to me.
>> >     > Do you have a typical forseen usage example for both ?
>> >     >
>> >     >
>> >     > Regards,
>> >     > Harm
>> >     >
>> >     > _______________________________________________
>> >     > Esb-java-user mailing list
>> >     > Esb-java-user@... <mailto:Esb-java-user@...>
>> >     > https://wso2.org/cgi-bin/mailman/listinfo/esb-java-user
>> >     >
>> >     >
>> >
>> >
>> >
>> >     --
>> >
>> >     --
>> >     Paul Fremantle
>> >     CTO and Co-Founder, WSO2
>> >     OASIS WS-RX TC Co-chair
>> >     VP, Apache Synapse
>> >
>> >     Office: +44 844 484 8143
>> >     Cell: +44 798 447 4618
>> >
>> >     blog: http://pzf.fremantle.org
>> >     paul@... <mailto:paul@...>
>> >
>> >     "Oxygenating the Web Service Platform", www.wso2.com
>> >     <http://www.wso2.com>
>> >
>> >     _______________________________________________
>> >     Esb-java-user mailing list
>> >     Esb-java-user@... <mailto:Esb-java-user@...>
>> >     https://wso2.org/cgi-bin/mailman/listinfo/esb-java-user
>> >
>> >
>> > ------------------------------------------------------------------------
>> >
>> > _______________________________________________
>> > Esb-java-user mailing list
>> > Esb-java-user@...
>> > https://wso2.org/cgi-bin/mailman/listinfo/esb-java-user
>> >
>>
>>
>> --
>> Ruwan Linton
>> Technical Lead & Product Manager; WSO2 ESB; http://wso2.org/esb
>> WSO2 Inc.; http://wso2.org
>> email: ruwan@...; cell: +94 77 341 3097
>> blog: http://blog.ruwan.org
>>
>>
>>
>> _______________________________________________
>> Esb-java-user mailing list
>> Esb-java-user@...
>> https://wso2.org/cgi-bin/mailman/listinfo/esb-java-user
>
>
> _______________________________________________
> Esb-java-user mailing list
> Esb-java-user@...
> https://wso2.org/cgi-bin/mailman/listinfo/esb-java-user
>
>



--

--
Paul Fremantle
CTO and Co-Founder, WSO2
OASIS WS-RX TC Co-chair
VP, Apache Synapse

Office: +44 844 484 8143
Cell: +44 798 447 4618

blog: http://pzf.fremantle.org
paul@...

"Oxygenating the Web Service Platform", www.wso2.com

_______________________________________________
Esb-java-user mailing list
Esb-java-user@...
https://wso2.org/cgi-bin/mailman/listinfo/esb-java-user