You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by "Jorge S." <js...@gfi.es> on 2008/03/28 14:56:49 UTC

jms consumer with file bc

Hi all,

I'm making a project which consists on:

* An application A, which write a SOAP message in an ActiveMQ queue 
* An application B, which read the message from the queue and save it in a
file.

In application A I use a HTTP bc for reading SOAP request and a JMS bc with
a provider endpoint for writing the message in a queue that resides in an
external instance of ActiveMQ 5 configured as a cluster (master/slave). This
application works perfectly, I check the message with AMQ web console.

In application B I use a JMS bc with a consumer endpoint for read the
message from the queue, and a file bc  (sender) to save this message in a
file. It is correct? Because this application doesn't work. 

First I deploy app A and send the message with a soap client. Then, I deploy
app B and it shold read automatically the message, or I'm wrong? I see the
message in the queue but it always stay here although app B read it. I think
I'm doing something wrong but I don't know what...

Config files attached:
http://www.nabble.com/file/p16349799/A-http-xbean.xml A-http-xbean.xml  | 
http://www.nabble.com/file/p16349799/A-jms-xbean.xml A-jms-xbean.xml  | 
http://www.nabble.com/file/p16349799/B-file-xbean.xml B-file-xbean.xml  | 
http://www.nabble.com/file/p16349799/B-jms-xbean.xml B-jms-xbean.xml 

Regards,

Jorge
-- 
View this message in context: http://www.nabble.com/jms-consumer-with-file-bc-tp16349799s12049p16349799.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.