[jboss-jira] [JBoss JIRA] (AS7-3817) Remove test topics and queues from default configurations

Shelly McGowan (JIRA) jira-events at lists.jboss.org
Fri Feb 24 13:45:36 EST 2012


    [ https://issues.jboss.org/browse/AS7-3817?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12670955#comment-12670955 ] 

Shelly McGowan commented on AS7-3817:
-------------------------------------

With the above pull request, the test topic and queues can be removed from the messaging template:

{code}
diff --git a/build/src/main/resources/configuration/subsystems/messaging.xml b/build/src/main/resources/configuration/subsystems/messaging.xml
index b8d5cac..7a3c1e0 100644
--- a/build/src/main/resources/configuration/subsystems/messaging.xml
+++ b/build/src/main/resources/configuration/subsystems/messaging.xml
@@ -83,16 +83,6 @@
                </pooled-connection-factory>
            </jms-connection-factories>
 
-           <jms-destinations>
-               <jms-queue name="testQueue">
-                   <entry name="queue/test"/>
-                   <entry name="java:jboss/exported/jms/queue/test"/>
-               </jms-queue>
-               <jms-topic name="testTopic">
-                   <entry name="topic/test"/>
-                   <entry name="java:jboss/exported/jms/topic/test"/>
-               </jms-topic>
-           </jms-destinations>
        </hornetq-server>
    </subsystem>
{code}



                
> Remove test topics and queues from default configurations
> ---------------------------------------------------------
>
>                 Key: AS7-3817
>                 URL: https://issues.jboss.org/browse/AS7-3817
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: Test Suite
>            Reporter: Shelly McGowan
>            Assignee: Ondrej Zizka
>             Fix For: 7.1.2.Final
>
>
> Highlighed in JBPAPP-6738, the default configuration files contain JMS destinations that are present only to satisfy tests in the integration test suite. 
> {code}
>                 <jms-destinations>
>                     <jms-queue name="testQueue">
>                         <entry name="queue/test"/>
>                         <entry name="java:jboss/exported/jms/queue/test"/>
>                     </jms-queue>
>                    <jms-topic name="testTopic">      
>                        <entry name="topic/test"/>
>                        <entry name="java:jboss/exported/jms/topic/test"/>
>                    </jms-topic>      
>                </jms-destinations>
> {code}
> The following tests are dependent on those:
> org.jboss.as.test.integration.ee.injection.resource.resourceref.ResourceRefTestCase.org.jboss.as.test.integration.ee.injection.resource.resourceref.ResourceRefTestCase
> org.jboss.as.test.integration.ejb.mdb.JMSMessageDrivenBeanTestCase.testSendMessage
> org.jboss.as.test.integration.ejb.mdb.timerservice.SimpleTimerMDBTestCase.testAnnotationTimeoutMethod
> org.jboss.as.test.integration.ejb.mdb.timerservice.SimpleTimerMDBTestCase.testTimedObjectTimeoutMethod
> org.jboss.as.test.integration.ejb.pool.lifecycle.PooledEJBLifecycleTestCase.testMDB
> org.jboss.as.test.smoke.embedded.demos.jms.JmsTestCase.testJms
> Probably should consider a common target to create these and other tests to use.  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list