Lou Aloia created OPENEJB-2104:
----------------------------------
Summary: JNDI queue name containing forward slash returns dynamic
queue
Key: OPENEJB-2104
URL: https://issues.apache.org/jira/browse/OPENEJB-2104
Project: OpenEJB
Issue Type: Bug
Components: general
Affects Versions: 4.7.0
Environment: TomEE 1.7.0
Reporter: Lou Aloia
Priority: Minor
When performing a JNDI lookup for a queue as follows
{{(Destination) ictx.lookup("java:comp/env/jms/tzg/oneScheduler/jobQueue");}}
The queue returned is
{{queue://jms/tzg/oneScheduler/jobQueue}}
instead of
{{queue://tzg/oneScheduler/jobQueue}}
tomee.xml
{{<Resource id="jms/tzg/oneScheduler/jobQueue" type="javax.jms.Queue"/>}}
web.xml
{quote}
<resource-ref id="ResourceRef_4">
<res-ref-name>jms/tzg/oneScheduler/jobQueue</res-ref-name>
<res-type>javax.jms.Queue</res-type>
<res-auth>Container</res-auth>
<res-sharing-scope>Shareable</res-sharing-scope>
</resource-ref>
{quote}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)