"Kevin.Conner(a)jboss.com" wrote : "Kevin.Conner(a)jboss.com" wrote : If we went down that route then yes, but wasn't that your question? ;)
| On second thoughts it might add more confusion if done this way as the user would need to consider every deployment and whether it was XA/non XA. It might be easier for the user if we had two separate parameters.
|
| What do you think?
|
| Kev
Not quite sure I follow. Don't they need to be aware of this anyway?
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4231325#4231325
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4231325
"Kevin.Conner(a)jboss.com" wrote : Yes, which is my justification for going down the JNDI route rather than including it in jbossesb-properties.xml. Wasn't jbossesb-properties.xml your other option?
Ah right... sorry... it was my first suggestion and then I went back towards the JNDI approach after having a closer look at that the JmsConnectionPool container.
So... I think we're saying that if we stick with the JNDI approach (what I currently have) for "max-sessions-per-connection", then we don't need to separate out the XA and non-XA stuff, right?
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4231323#4231323
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4231323
We should definitely try to separate the XA/non-XA configuration, as mentioned earlier.
I don't think that the JNDI configuration is the ideal place for this but, given the current architecture, it is probably the best we can do at the moment. The reason I say this is because the value may be different if using different servers (same provider) within the ESB.
The down side of this is, as you say, that the user may inadvertently create multiple pools within a deployment when they had intended to share it.
Kev
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4231299#4231299
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4231299