ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ Java / JMS » Problem with Transaction when using .binding JNDI file

Post new topic  Reply to topic
 Problem with Transaction when using .binding JNDI file « View previous topic :: View next topic » 
Author Message
alpa
PostPosted: Mon Aug 24, 2015 8:50 am    Post subject: Problem with Transaction when using .binding JNDI file Reply with quote

Newbie

Joined: 20 Aug 2015
Posts: 5

Hi all,

When I send a text message on a queue using a .binding file, the message is not rollbacked when the transaction fails.

However, when using the same queue as an admin-object declared in the standalone.xml of jboss, the message is rollbacked correctly.

Is there any missing configuration to enable a transactional behavior with .bindings jndi file?

Is it a known issue?

Thank you.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Mon Aug 24, 2015 10:54 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20696
Location: LI,NY

Did you declare just a ConnectionFactory or an XAConnectionFactory in your bindings?
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
alpa
PostPosted: Tue Aug 25, 2015 12:12 am    Post subject: Reply with quote

Newbie

Joined: 20 Aug 2015
Posts: 5

Hi,

I declared just a ConnectionFactory when generating the .bindings file.

because I kept the option "Support XA transactions" unchecked.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Tue Aug 25, 2015 4:29 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20696
Location: LI,NY

alpa wrote:
Hi,

I declared just a ConnectionFactory when generating the .bindings file.

because I kept the option "Support XA transactions" unchecked.

So what happens if you check it?
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » Problem with Transaction when using .binding JNDI file
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.