You can bind an alias into jndi
Add the following to jbossmq-service.xml
<mbean code="org.jboss.naming.NamingAlias" name="myalias:name=QueueConnectionFactory"> <attribute name="FromName">ConnectionFactory</attribute> <attribute name="ToName">QueueConnectionFactory</attribute> </mbean>
Or you can create your own myalias-service.xml
I need to get the QueueConnectionFactory using the JNDI "QueueConnectionFactory" instead "ConnectionFactory".
Adrian, when you posted your reply, you were thinking in something like:
With that declaration, the QueueConnectionFactory still isn´t bound.. i tried to switch the attribute values without sucess... any idea?
Oh... strange... my XML declaration has disappeared with the post.. i´ll trie to post again
You should use "code" tags around your xml...
Adrian, would you provide an example? Your explaination is not so clear. It seems no one understand your solutions.