Your approach seems to be correct and it should work, can you please attach
the error log that you are getting with this configuration?

Also do you have the registry declaration in the synapse.xml, I assume yes,
since you have other dynamic endpoints working. You may also attach the
synapse.xml configuration so that I can reproduce the issue if there are
any.

Thanks,
Ruwan

On Tue, Oct 20, 2009 at 2:54 AM, Florin Bejinaru
<[email protected]>wrote:

> I have to specify a "to" address of a clone mediator, but I need to do it
> dynamically so I thought that  :
> <clone>
>    <target endpoint="endpoint/dynamic_endpoint.xml">
>          <sequence>...
>
> should do the trick, but I am getting an exception when trying to <send />
> in the clone mediator, how can I set the endpoint of the clone mediator so
> that it points to an external endpoint file.
>
> I should also mention that I am using other <endpoint
> key="endpoint/other_dynamic_endpoint.xml"/> endpoints just fine so it's not
> the endpoints xml files.
>



-- 
Ruwan Linton
Technical Lead & Product Manager; WSO2 ESB; http://wso2.org/esb
WSO2 Inc.; http://wso2.org
email: [email protected]; cell: +94 77 341 3097
blog: http://ruwansblog.blogspot.com

Reply via email to