activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rob Davies (JIRA)" <j...@apache.org>
Subject [jira] Issue Comment Edited: (AMQ-2220) No sub-contexts for Queues / Topics created from jndi.properties
Date Wed, 03 Feb 2010 14:01:33 GMT

    [ https://issues.apache.org/activemq/browse/AMQ-2220?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=57320#action_57320
] 

Rob Davies edited comment on AMQ-2220 at 2/3/10 2:00 PM:
---------------------------------------------------------

Fixed by SVN revisions 905958 and 906045

      was (Author: rajdavies):
    Fixed by SVN revision 905958
  
> No sub-contexts for Queues / Topics created from jndi.properties
> ----------------------------------------------------------------
>
>                 Key: AMQ-2220
>                 URL: https://issues.apache.org/activemq/browse/AMQ-2220
>             Project: ActiveMQ
>          Issue Type: Bug
>    Affects Versions: 5.1.0, 5.2.0
>            Reporter: Peter Schuebl
>            Assignee: Rob Davies
>             Fix For: 5.4.0
>
>         Attachments: ReadOnlyContext.java.diff
>
>
>   new InitialContext().list("queue") 
> should return the 2 Queues defined in the jndi.properties (see below) but thows "javax.naming.NameNotFoundException:
queue
> jndi.properties:
> {quote}
> java.naming.factory.initial=org.apache.activemq.jndi.ActiveMQInitialContextFactory
> java.naming.provider.url = vm://localhost
> queue.queue/testQueue=queue.TestQueue
> queue.queue/testQueue2=queue.TestQueue2
> {quote}
> When the ReadOnlyContext is created nested contexts are not resolved.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message