Hi Sonam,
I have trouble building your code but looking at the coding following
are the suggestions you can try out.
1. You have 2 different files containing cxf configuration but looking
at web.xml looks like you are using cxf.xml
2. In your cxf.xml comment out the servlet transport and http transport
import. (It might cause the JMS transport to be ignored).
3. In cxf.xml change the address on jaxws:endpoint to
jms://<rest-doesnt -matter>
4. I observed you are using different versions of spring and CXF in your
app, webapp, client. Please try to stick to one version first. I suggest
you either go with latest CXF version 2.0.8 or 2.1.3
Regards,
Ulhas Bhole
Ulhas Bhole wrote:
You don't need JMS bridge. I will take a look at the sample later on
(was busy with some other work).
-- Ulhas Bhole
Nepali, Sonam (GE Healthcare, consultant) wrote:
Hi
I am trying to get the JMS transport to work for a service deployed
in a spring container. I can get the client to send and successfuly
store the message in the ActiveMQ queue. However, my HelloWorld
service is not able to pickup the message. ActiveMQ is already run
as a separate process. I have followed the information on the CXF
sample for the JMS transport.
Do I need to add jms to jms bridge information as stated in AcitveMQ
documentation (http://activemq.apache.org/jms-to-jms-bridge.html) to
make my application work?
thanks
Sonam