Hi Dion,

If you look at this clone mediator configuration [1] then you can see the
endpoint attribute on the target element. This endpoint attribute if
specified is used to send the cloned messages out after any mediation if
there is a sequence specified in the target.

So assuming that you have a set of named endpoints what you have to do to
broadcast the incoming message to this set of endpoints is as follows;

<clone>
<target endpoint="ref1"/>
<terget endpoint="ref2"/>
.....
</clone>

Where these ref1 and ref2 are the names of the defined endpoints to which
the message will be broadcasted.

Hope this helps to you.

[1] - http://synapse.apache.org/Synapse_Configuration_Language.html#clone

Thanks,
Ruwan

On Tue, Sep 23, 2008 at 9:27 AM, dion ye <[EMAIL PROTECTED]> wrote:

>  Yes, what i mean is endpoints.  when ESB receive a message, i want to send
> the message to several endpoints. clone mediator is used to clone message?
> how can i send the message to sereral endpoints?
>
> Thanks,
>
> Dion
>
> On Tue, Sep 23, 2008 at 11:47 AM, Ruwan Linton <[EMAIL PROTECTED]
> >wrote:
>
> > Hi Dion,
> >
> > What do you mean by the term several servers registered on Synapse ESB?
> > Does
> > that mean you have a set of endpoints defined inside synapse? In which
> case
> > you may use the clone mediator to do the broadcasting.
> >
> > Please elaborate on your exact requirement so that I can provide more
> help
> > on this.
> >
> > Thanks,
> > Ruwan
> >
> > On Tue, Sep 23, 2008 at 9:10 AM, dion ye <[EMAIL PROTECTED]> wrote:
> >
> > > Hi all,
> > >
> > >     I have several sever registered on synapse ESB, is there some way
> to
> > > configure synapse to broadcast a message from client to all the server?
> > >
> > > Thanks
> > >
> > > Dion
> > >
> >
> >
> >
> > --
> > Ruwan Linton
> > http://wso2.org - "Oxygenating the Web Services Platform"
> > http://ruwansblog.blogspot.com/
> >
>



-- 
Ruwan Linton
http://wso2.org - "Oxygenating the Web Services Platform"
http://ruwansblog.blogspot.com/

Reply via email to