Hi Folks, I've just had a customer asking me this question as they are trying to do the work under a tran as well. I've read the MessageProcessor code and it appears to do it all under AUTO_ACK. I can't see it reading the axis.xml file either - but I'm sure it does somewhere. So, maybe I read the code wrong (wouldn't be the first time !Aalthough the AUTO_ACK does appear to be hardcoded.).
Can anyone confirm my findings please - and whether we intend to change this behaviour (if what I found is correct). many thanks, John. John Hawkins Director: Solutions Architecture On Tue, Sep 1, 2015 at 12:05 PM, John Hawkins <[email protected]> wrote: > Hi All, > > I'm trying to figure out if and how I enable transactions on the > JMSMessageProcessor.... > > I am using QPID as the message broker. I have not set any JMS transports > properties in conf/axis2.xml. I think that the JMSMessageProcessor is using > conf/axis2/axis2_blocking_client.xml by default - is that correct ? (I read > it in a blog but I can't see it specified in the docs). > > As I have no jms transports set up in my axis2_blocking_client.xml I'm > assuming that it's also not being read as my JMSMessageProcess is working > just fine? > > So, I'm therefore assuming that my MessageProcessor is not working under a > tran (and is probably using AUTO_ACK) which will lose messages in case of a > failure. > > > If all the above is correct then can I set up axis2_blocking_client.xml so > that messages are pulled from the queue by JMSMessageProcessor under a > true xa or JTA tran? > > many thanks for your help, > John. > > > > John Hawkins > Director: Solutions Architecture > >
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
