changed the 'jms-gateway' element to 'inbound-gateway'

This commit is contained in:
Mark Fisher
2008-10-17 03:25:22 +00:00
parent 213ada0089
commit cc70df8f08
11 changed files with 65 additions and 65 deletions

View File

@@ -28,7 +28,7 @@ import org.springframework.integration.jms.JmsHeaders;
public class JmsNamespaceHandler extends NamespaceHandlerSupport {
public void init() {
this.registerBeanDefinitionParser("jms-gateway", new JmsGatewayParser());
this.registerBeanDefinitionParser("inbound-gateway", new JmsGatewayParser());
this.registerBeanDefinitionParser("inbound-channel-adapter", new JmsInboundChannelAdapterParser());
this.registerBeanDefinitionParser("outbound-channel-adapter", new JmsOutboundChannelAdapterParser());
this.registerBeanDefinitionParser("header-enricher", new SimpleHeaderEnricherParser(

View File

@@ -37,7 +37,7 @@
</xsd:complexType>
</xsd:element>
<xsd:element name="jms-gateway">
<xsd:element name="inbound-gateway">
<xsd:annotation>
<xsd:documentation>
Defines a JMS-based gateway adapter.

View File

@@ -12,16 +12,16 @@
<si:channel id="requestChannel"/>
<jms:jms-gateway id="gatewayWithoutTransactionManager"
connection-factory="testConnectionFactory"
destination="testDestination"
request-channel="requestChannel"/>
<jms:inbound-gateway id="gatewayWithoutTransactionManager"
connection-factory="testConnectionFactory"
destination="testDestination"
request-channel="requestChannel"/>
<jms:jms-gateway id="gatewayWithTransactionManager"
connection-factory="testConnectionFactory"
destination="testDestination"
request-channel="requestChannel"
transaction-manager="txManager"/>
<jms:inbound-gateway id="gatewayWithTransactionManager"
connection-factory="testConnectionFactory"
destination="testDestination"
request-channel="requestChannel"
transaction-manager="txManager"/>
<bean id="txManager" class="org.springframework.jms.connection.JmsTransactionManager">
<property name="connectionFactory" ref="testConnectionFactory"/>

View File

@@ -12,10 +12,10 @@
<si:channel id="requestChannel"/>
<jms:jms-gateway id="jmsGateway"
connection-factory="testConnectionFactory"
destination="testDestination"
request-channel="requestChannel"/>
<jms:inbound-gateway id="jmsGateway"
connection-factory="testConnectionFactory"
destination="testDestination"
request-channel="requestChannel"/>
<bean id="testConnectionFactory" class="org.springframework.jms.connection.SingleConnectionFactory">
<constructor-arg>

View File

@@ -14,10 +14,10 @@
<si:channel id="requestChannel"/>
<jms:jms-gateway id="jmsGateway"
connection-factory="testConnectionFactory"
destination-name="testDestinationName"
request-channel="requestChannel"/>
<jms:inbound-gateway id="jmsGateway"
connection-factory="testConnectionFactory"
destination-name="testDestinationName"
request-channel="requestChannel"/>
<bean id="testConnectionFactory" class="org.springframework.jms.connection.SingleConnectionFactory">
<constructor-arg>

View File

@@ -14,9 +14,9 @@
<si:channel id="requestChannel"/>
<jms:jms-gateway id="jmsGateway"
connection-factory="testConnectionFactory"
request-channel="requestChannel"/>
<jms:inbound-gateway id="jmsGateway"
connection-factory="testConnectionFactory"
request-channel="requestChannel"/>
<bean id="testConnectionFactory" class="org.springframework.jms.connection.SingleConnectionFactory">
<constructor-arg>

View File

@@ -16,29 +16,29 @@
<si:queue capacity="10"/>
</si:channel>
<jms:jms-gateway id="gatewayWithConcurrentConsumers"
connection-factory="testConnectionFactory"
request-channel="requestChannel"
destination-name="test"
concurrent-consumers="3"/>
<jms:inbound-gateway id="gatewayWithConcurrentConsumers"
connection-factory="testConnectionFactory"
request-channel="requestChannel"
destination-name="test"
concurrent-consumers="3"/>
<jms:jms-gateway id="gatewayWithMaxConcurrentConsumers"
connection-factory="testConnectionFactory"
request-channel="requestChannel"
destination-name="test"
max-concurrent-consumers="22"/>
<jms:inbound-gateway id="gatewayWithMaxConcurrentConsumers"
connection-factory="testConnectionFactory"
request-channel="requestChannel"
destination-name="test"
max-concurrent-consumers="22"/>
<jms:jms-gateway id="gatewayWithMaxMessagesPerTask"
connection-factory="testConnectionFactory"
request-channel="requestChannel"
destination-name="test"
max-messages-per-task="99"/>
<jms:inbound-gateway id="gatewayWithMaxMessagesPerTask"
connection-factory="testConnectionFactory"
request-channel="requestChannel"
destination-name="test"
max-messages-per-task="99"/>
<jms:jms-gateway id="gatewayWithIdleTaskExecutionLimit"
connection-factory="testConnectionFactory"
request-channel="requestChannel"
destination-name="test"
idle-task-execution-limit="7"/>
<jms:inbound-gateway id="gatewayWithIdleTaskExecutionLimit"
connection-factory="testConnectionFactory"
request-channel="requestChannel"
destination-name="test"
idle-task-execution-limit="7"/>
<bean id="testConnectionFactory" class="org.springframework.jms.connection.SingleConnectionFactory">
<constructor-arg>

View File

@@ -14,9 +14,9 @@
<si:channel id="requestChannel"/>
<jms:jms-gateway id="jmsGateway"
destination-name="testDestinationName"
request-channel="requestChannel"/>
<jms:inbound-gateway id="jmsGateway"
destination-name="testDestinationName"
request-channel="requestChannel"/>
<bean id="connectionFactory" class="org.springframework.jms.connection.SingleConnectionFactory">
<constructor-arg>

View File

@@ -12,9 +12,9 @@
<si:channel id="requestChannel"/>
<jms:jms-gateway id="jmsGateway"
connection-factory=""
destination-name="testDestinationName"
request-channel="requestChannel"/>
<jms:inbound-gateway id="jmsGateway"
connection-factory=""
destination-name="testDestinationName"
request-channel="requestChannel"/>
</beans>

View File

@@ -14,11 +14,11 @@
<si:channel id="requestChannel"/>
<jms:jms-gateway id="jmsGateway"
connection-factory="testConnectionFactory"
destination="testDestination"
message-converter="converter"
request-channel="requestChannel"/>
<jms:inbound-gateway id="jmsGateway"
connection-factory="testConnectionFactory"
destination="testDestination"
message-converter="converter"
request-channel="requestChannel"/>
<bean id="converter" class="org.springframework.integration.jms.config.TestMessageConverter"/>

View File

@@ -16,19 +16,19 @@
<si:queue capacity="10"/>
</si:channel>
<jms:jms-gateway id="defaultGateway"
destination="testDestination"
request-channel="requestChannel"/>
<jms:inbound-gateway id="defaultGateway"
destination="testDestination"
request-channel="requestChannel"/>
<jms:jms-gateway id="gatewayNotExpectingReply"
destination="testDestination"
request-channel="requestChannel"
expect-reply="false"/>
<jms:inbound-gateway id="gatewayNotExpectingReply"
destination="testDestination"
request-channel="requestChannel"
expect-reply="false"/>
<jms:jms-gateway id="gatewayExpectingReply"
destination="testDestination"
request-channel="requestChannel"
expect-reply="true"/>
<jms:inbound-gateway id="gatewayExpectingReply"
destination="testDestination"
request-channel="requestChannel"
expect-reply="true"/>
<bean id="connectionFactory" class="org.springframework.jms.connection.SingleConnectionFactory">
<constructor-arg>