Asankha,
Your approach of fn:concat('https://10.192.12.89' will add to the
existing URL and giving malformed URL error. The requirement is to
change the URI part alone to different one. I think, in general the
get-property('To') will provide the whole URL.
Caused by: org.apache.axis2.AxisFault: Malformed destination EPR :
http://localhost:8082http://localhost:8081/synapse/examples/services/Enu
mTest
at
org.apache.synapse.transport.nhttp.HttpCoreNIOSender.handleException(Htt
pCoreNIOSender.java:478)
With Regards
Kumaran
Phone net : 85521
Direct line: 6331 5521
-----Original Message-----
From: Asankha C. Perera [mailto:[EMAIL PROTECTED]
Sent: Monday, February 04, 2008 10:19 PM
To: [email protected]
Subject: Re: Content based routing
Venkatesan
For some strange reason, the Synapse dev list rejected my reply twice
saying it was spam :-( .. so I am writing this third reply into a brand
new message without replying to the original.. hope it works!
From the original mail I see on the list, it seems to me like a part of
your email is missing?.. is it?
If what you require is to just map the hostname from tradeti.stdcom
-to-> 10.192.12.89, and "tradeti.stdcom" is the hostname of the Synapse
server, your "To" address should be "/services/xxxUser" - you could
verify this with a <log level="full"/> mediator.. if this is the case,
all you have to do now is to replace the "To" with the
"https://10.192.12.89" prefix as follows, and send it to that new "To"
address
<syn:header name="To" expression="fn:concat('https://10.192.12.89',
syn:get-property('To'))"/>
<syn:send/>
asankha
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
This email is confidential. If you are not the addressee tell the sender
immediately and destroy this email
without using, sending or storing it. Emails are not secure and may suffer
errors, viruses, delay,
interception and amendment. Standard Chartered PLC and subsidiaries ("SCGroup")
do not accept liability for
damage caused by this email and may monitor email traffic.