SPR-6460 Added "phase" attribute to the JMS namespace's "jca-listener-container" element.
This commit is contained in:
@@ -153,8 +153,8 @@ public class JmsNamespaceHandlerTests extends TestCase {
|
||||
int defaultPhase = getPhase(DefaultMessageListenerContainer.class.getName() + "#0");
|
||||
assertEquals(99, phase1);
|
||||
assertEquals(99, phase2);
|
||||
assertEquals(Integer.MAX_VALUE, phase3);
|
||||
assertEquals(Integer.MAX_VALUE, phase4);
|
||||
assertEquals(77, phase3);
|
||||
assertEquals(77, phase4);
|
||||
assertEquals(Integer.MAX_VALUE, defaultPhase);
|
||||
}
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
</jms:listener-container>
|
||||
|
||||
<jms:jca-listener-container resource-adapter="testResourceAdapter" activation-spec-factory="testActivationSpecFactory"
|
||||
message-converter="testMessageConverter">
|
||||
message-converter="testMessageConverter" phase="77">
|
||||
<jms:listener id="listener3" destination="testDestination" ref="testBean1" method="setName"/>
|
||||
<jms:listener id="listener4" destination="testDestination" ref="testBean2" method="setName" response-destination="responseDestination"/>
|
||||
</jms:jca-listener-container>
|
||||
|
||||
Reference in New Issue
Block a user