Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-3657

Change jndi context for connection factory and destination in configuration of messaging subsystem

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Done
    • Major
    • 7.1.0.Final
    • 7.1.0.CR1b
    • JMS
    • None

    Description

      According to AS7-1338 remote jndi was implemented. All objects which should be reachable to remote jms clients (like destinations and connection factories) should be now registered under "java:jboss/exported/" context.

      I'm not sure which context we're going to use by default. It could be "java:jboss/exported/jms/" or simply "java:jboss/exported/" or some other context.

      Following peace of configuration I've already tried and works:

      <jms-connection-factories>
      ...
      <!-- configuration for connection factory -->
         <connection-factory name="RemoteConnectionFactory">
            <connectors>
               <connector-ref connector-name="netty"/>
            </connectors>
            <entries> 
               <entry name="java:jboss/exported/jms/RemoteConnectionFactory" /> <!- this is the important part -->
            </entries>
         </connection-factory>
      ...
      </jms-connection-factories>
      
      <jms-destinations>
      ...
         <jms-queue name="testQueue"> 
            <entry name="java:jboss/exported/jms/queue/test"/> <!- this is the important part -->
         </jms-queue> 
      ...
      </jms-destinations>
      

      Attachments

        Activity

          People

            johnbailey_jira John Bailey (Inactive)
            mnovak1@redhat.com Miroslav Novak
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: