-
1. Re: create TopicConnectionFactory
hchirino Sep 25, 2001 8:39 PM (in response to cpeng)I what way do you want it to be 'different'??
-
2. Re: create TopicConnectionFactory
cpeng Sep 26, 2001 1:29 PM (in response to cpeng)Instead of using the system default one(TopicConnectionFactory-->ConnectionFactory), I would like to create a separate one w/ different JNDI name mapping. Not sure how the NamingAlias attribute of the MBean works. Is it where I can achieve my objective?
Thanks, -
3. Re: create TopicConnectionFactory
hchirino Sep 26, 2001 9:13 PM (in response to cpeng)Add a MBean to the jboss.jcml file to do the NamingAlias thing...
The snipplet below sets up a alias from "CoolNewName" --> "ConnectionFactory"
CoolNewName
ConnectionFactory
OR you can change where JBossMQ binds the object in JNDI. This too is done with an MBean section in jboss.jcml... Just change "ConnectionFactory" or "XAConnectionFactory" values to whatever new value you want. It may have problems with something like:
"someting/with/a/path/ConnectionFactory" (let me know if there is a problem, we need to get that fixed).
ConnectionFactory
XAConnectionFactory