Hi Anhishek
Thankx for the Code.It was really helpful.
Good to hear!
Hey our requirements have changed a bit now.I am implementing JMS Client
with synapse.So my Synapse.xml now have two proxies calling two web services
and in the fault sequence i want to call JMS Client.So how to do this??
I do not understand your requirement clearly.. I see that your client now uses JMS, would it or other clients send a SOAP/JMS message, XML/JMS message (this is what I think you are doing), or other types of messages to the proxies? What does the proxy services (now listening over JMS) do with messages they receive? Do they forward them to other JMS services? or SOAP/XML services over HTTP?

Also what is your expectation from the fault sequence here? If you directly state your business problem/requirement, I can help you with the technical solution
And JMS Client I am creating seperately .The code for that is :
------------------------------------------------------------------------------
...
I am creating two queues as i have two web services at both ends of it.
BUt in this particular line :
  QueueConnectionFactory myQConnFactory = (QueueConnectionFactory)
ctx.lookup(QCF_NAME);

It throws an error javax.naming.namenotfoundexception.How to resolve it?
This code seems to run outside of the Synapse engine.. also the problem you have encountered is a straightforward JMS issue.. your JNDI does not contain a reference with the name QCF_NAME. Check your JMS providers documentation/samples for more information. It may be required that you manually create this connection factory on your JMS server with this name first

cheers
asankha

--
Asankha C. Perera
http://adroitlogic.org

http://esbmagic.blogspot.com

Reply via email to