You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by Javier Posado <Ja...@teracode.com> on 2010/06/16 15:47:24 UTC

SOAP over JMS with transactions

Hi,

I was trying SOAP over JMS with JTA transactions using JMSConfigFeature 
(http://cxf.apache.org/docs/using-the-jmsconfigfeature.html) and it 
seems to work but i saw in http://cxf.apache.org/docs/jms-transport.html 
this comment, " transactional", " Specifies whether the local JMS broker 
will create transactions around message processing. The default is 
false. Currently, this is not supported by the runtime.". Is a 
transaction actually supported using SOAP over JMS?

thx in advance

javier


SOAP over JMS with transactions

Posted by Javier Posado <Ja...@teracode.com>.
Hi,

I was trying SOAP over JMS with JTA transactions using JMSConfigFeature 
(http://cxf.apache.org/docs/using-the-jmsconfigfeature.html) and it 
seems to work but i saw in http://cxf.apache.org/docs/jms-transport.html 
this comment, " transactional", " Specifies whether the local JMS broker 
will create transactions around message processing. The default is 
false. Currently, this is not supported by the runtime.". Is a 
transaction actually supported using SOAP over JMS?

thx in advance

javier

Re: SOAP over JMS with transactions

Posted by Christian Schneider <ch...@die-schneider.net>.
Hi Javier,

I don“t know if transactions work when using the old config style. But 
with the JmsConfigFeature they should definately work as we are using 
the Spring JmsTemplate and MessageListener.
When using transactions you should also make sure your jms provider does 
only redeliver messages a certain number of times. If it redelivers 
everytime then you can have an endless loop where the same exception
will happen again and again.

Greetings

Christian

Am 16.06.2010 15:47, schrieb Javier Posado:
> Hi,
>
> I was trying SOAP over JMS with JTA transactions using 
> JMSConfigFeature 
> (http://cxf.apache.org/docs/using-the-jmsconfigfeature.html) and it 
> seems to work but i saw in 
> http://cxf.apache.org/docs/jms-transport.html this comment, " 
> transactional", " Specifies whether the local JMS broker will create 
> transactions around message processing. The default is false. 
> Currently, this is not supported by the runtime.". Is a transaction 
> actually supported using SOAP over JMS?
>
> thx in advance
>
> javier
>
>

-- 
----
http://www.liquid-reality.de


Re: SOAP over JMS with transactions

Posted by Daniel Kulp <dk...@apache.org>.
On Wednesday 16 June 2010 9:47:24 am Javier Posado wrote:
> Hi,
> 
> I was trying SOAP over JMS with JTA transactions using JMSConfigFeature
> (http://cxf.apache.org/docs/using-the-jmsconfigfeature.html) and it
> seems to work but i saw in http://cxf.apache.org/docs/jms-transport.html
> this comment, " transactional", " Specifies whether the local JMS broker
> will create transactions around message processing. The default is
> false. Currently, this is not supported by the runtime.". Is a
> transaction actually supported using SOAP over JMS?

I believe the docs are wrong.   It's been supported for a while, since the 
changeover from pure JMS calls to using the Spring JMS stuff.  I'll update the 
docs.

Dan



> 
> thx in advance
> 
> javier

-- 
Daniel Kulp
dkulp@apache.org
http://dankulp.com/blog