I have created two Web Services.I am passing my request to Synapse.xml,If
Web Services are up it sends a response back.i have created an independent
JMS Client and have the jar of it.But i want if Web Services are down it
should go to fault sequence
Use named sequences for the inSequnces of your proxies [1] (e.g.
lawProxyInSeq, lawProxyOutSeq.. etc) and specify one or more error
handlers to these sequences as appropriate [2], to handle posting to JMS
on failure.
and call that jms client.SO how to call this jms
client using .jar file of it.
You do not need a JMS client to post a message to JMS.. Use Synapse
itself to switch the transport [3]
cheers
asankha
[1] http://synapse.apache.org/Synapse_Samples.html#Sample151
[2] http://synapse.apache.org/Synapse_Samples.html#Sample4
[3] http://synapse.apache.org/Synapse_Samples.html#Sample251
--
Asankha C. Perera
AdroitLogic, http://adroitlogic.org
http://esbmagic.blogspot.com