This content has been marked as final.
Show 4 replies
-
1. Re: creating non-transactional JMS connection factory
gaohoward Jun 2, 2009 10:42 AM (in response to saiya-jin)hi, if you have the EAP 4.3 doc, please read the doc first (the jboss messaging part).
If you elaborate more on your use case, you may get more specific help. -
2. Re: creating non-transactional JMS connection factory
saiya-jin Jun 2, 2009 11:25 AM (in response to saiya-jin)ok my fault,
I wanted to say we ALREADY have defined our own JMS connection factory, which seems to be transactional by default. What we need to set is explicitly turn of transactional behavior for this one.
I hope i made myself more clear -
3. Re: creating non-transactional JMS connection factory
gaohoward Jun 3, 2009 1:39 AM (in response to saiya-jin)I think you meant that you want a ConnectionFactory instance rather than XAConnectionFactory. If so you can simply cast the factory instance to ConnectionFactory.
Howard -
4. Re: creating non-transactional JMS connection factory
timfox Jun 3, 2009 4:46 AM (in response to saiya-jin)"saiya-jin" wrote:
ok my fault,
I wanted to say we ALREADY have defined our own JMS connection factory, which seems to be transactional by default. What we need to set is explicitly turn of transactional behavior for this one.
I hope i made myself more clear
In JMS there is no such thing as a non transactional connection factory. It is JMS *sesions* that are transactional or not.
You determine whether a session is transactional when you create it (see the JMS javadoc).