You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@synapse.apache.org by Pedro <pe...@ptbsl.com> on 2008/07/01 09:40:41 UTC

Re: a simple sample


Hi Ruwan, I want to send text/plan using any transport (possible) or 
http (only) to insert this text. The fact of this example it's to see 
better de synapse mechanism that i can't see in tutorials.
Thanks.

> Hi,
>
> This is some very simple piece of work for synapse and I want to know a few
> things in-order to answer the problem.
>
> Can you please tell me the transport that you are using to send the message
> to Synapse? Is that HTTP or any other?
> Secondly you need to put the PlainTextBuilder and Formatter pair into your
> axis2.xml and I want to know the Content-Type that you are using if the
> message is coming over the HTTP transport? Is that text/plain?
> Inside the mediators this seems a very straight task just a string
> manipulation.
>
> Thanks,
> Ruwan
>
> On Mon, Jun 30, 2008 at 6:53 PM, Pedro <pe...@ptbsl.com> wrote:
>
>   
>> Hi, I have readed the tutorial of synaptics and i have tryed to build a
>> basic example but i couldn't. Can some one tell me basic example? or a basic
>> examples tutorial?
>> The method than i want to do it's this:
>> Client: Send a message with a text.
>> Mediator 1: cut half test and sends to mediator2 the first part
>> Mediator 2: pass to upper case all text and send to service.
>> Service: get the first word of the text and send it to client.
>> Client: print the word
>> It's simply and basic, but i canĀ“t implement this.
>>
>> Thanks
>>
>>     
>
>
>
>