-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
INT-1440 the QoS properties are now only applied to JmsTemplate if it…
… is not a referenced bean
- Loading branch information
1 parent
f7bca5e
commit 4db74cd
Showing
1 changed file
with
32 additions
and
0 deletions.
There are no files selected for viewing
32 changes: 32 additions & 0 deletions
32
...rc/test/java/org/springframework/integration/jms/config/jmsOutboundWithJmsTemplateQos.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<beans xmlns="http://www.springframework.org/schema/beans" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xmlns:integration="http://www.springframework.org/schema/integration" | ||
xmlns:jms="http://www.springframework.org/schema/integration/jms" | ||
xsi:schemaLocation="http://www.springframework.org/schema/beans | ||
http://www.springframework.org/schema/beans/spring-beans.xsd | ||
http://www.springframework.org/schema/integration | ||
http://www.springframework.org/schema/integration/spring-integration.xsd | ||
http://www.springframework.org/schema/integration/jms | ||
http://www.springframework.org/schema/integration/jms/spring-integration-jms.xsd"> | ||
|
||
<integration:channel id="input"/> | ||
|
||
<jms:outbound-channel-adapter id="adapter" channel="input" jms-template="template"/> | ||
|
||
<bean id="template" class="org.springframework.jms.core.JmsTemplate" > | ||
<property name="connectionFactory"> | ||
<bean class="org.springframework.jms.connection.SingleConnectionFactory"> | ||
<constructor-arg> | ||
<bean class="org.springframework.integration.jms.StubConnection"> | ||
<constructor-arg value="target-test"/> | ||
</bean> | ||
</constructor-arg> | ||
</bean> | ||
</property> | ||
<property name="explicitQosEnabled" value="true"/> | ||
<property name="priority" value="7"/> | ||
<property name="timeToLive" value="12345"/> | ||
</bean> | ||
|
||
</beans> |