Hi all,

I am trying to get my Axis2 web service to use transactional JMS, but
am having difficulties getting it to work. Can anyone please help me?

I have a service that works fine over HTTP and have modified the
axis2.xml so it also listens to a Oracle AQ queue. This works fine in
the sense that my service now listens on one queue and writes the
response to another queue. However, I would like it to work
transactional in the sense that a response is only written if the
service handled the request successfully. If the service throws an
exception, I want the incoming message to stay on the queue. Is this
possible with Axis2?

I have tried adding the following parameters to both my
QueueConnectionFactory configuration in axis2.xml as well as to my
service's services.xml, but that does not seem to have any effect.

<parameter name="transport.jms.SessionTransacted">true</parameter>
<parameter name="transport.jms.Transactionality">local</parameter>

Any help would be really appreciated.

Max

Reply via email to