Harshajith Halgaswatta
2012-02-09 09:53:37 UTC
Hi Devs,
I have a problem in initializing mule client to send JMS messages,
My code is as follows
MuleClient client = new MuleClient(true);
MuleMessage message = client.request("jms://jbpm.response", 1000);
I am getting an exception
org.mule.transport.service.TransportFactoryException: Unable to create
connection factory. Either configure a connectionFactory-ref or a
jndiInitialFactory. (org.mule.api.lifecycle.InitialisationException)
(org.mule.api.registry.RegistrationException)
How can I configure connectionFactory-ref or jndiInitialFactory with Mule
client. If you can provide me a code snippet, it is highly appreciated.
Thanks in advance
Harsha
----------------------
CONFIDENTIALITY NOTICE
This e-mail (including any attachments) may contain confidential and/or privileged information. If you are not the intended recipient or have received this e-mail in error, please inform the sender immediately and delete this e-mail (including any attachments) from your computer, and you must not use, disclose to anyone else or copy this e-mail (including any attachments), whether in whole or in part.
This e-mail and any reply to it may be monitored for security, legal, regulatory compliance and/or other appropriate reasons.
I have a problem in initializing mule client to send JMS messages,
My code is as follows
MuleClient client = new MuleClient(true);
MuleMessage message = client.request("jms://jbpm.response", 1000);
I am getting an exception
org.mule.transport.service.TransportFactoryException: Unable to create
connection factory. Either configure a connectionFactory-ref or a
jndiInitialFactory. (org.mule.api.lifecycle.InitialisationException)
(org.mule.api.registry.RegistrationException)
How can I configure connectionFactory-ref or jndiInitialFactory with Mule
client. If you can provide me a code snippet, it is highly appreciated.
Thanks in advance
Harsha
----------------------
CONFIDENTIALITY NOTICE
This e-mail (including any attachments) may contain confidential and/or privileged information. If you are not the intended recipient or have received this e-mail in error, please inform the sender immediately and delete this e-mail (including any attachments) from your computer, and you must not use, disclose to anyone else or copy this e-mail (including any attachments), whether in whole or in part.
This e-mail and any reply to it may be monitored for security, legal, regulatory compliance and/or other appropriate reasons.