Hello,
I've configured a JMS queue in GlassFish 4.1 JNDI using admin console. The following code works fine in my servlet:
@Resource(mappedName = "OutgoingTradeOrders")
Destination ordersQueue;
But I don't want to use mappedName as it may not work in other app servers. I tried the following syntax, but it gives me injection exception:
@Resource(lookup = "java:global/jms/OutgoingTradeOrders")
Destination ordersQueue;
Does GlassFisf 4.1 support global naming syntax?
Thanks
Yakov