Created
October 12, 2012 13:32
-
-
Save splatch/3879219 to your computer and use it in GitHub Desktop.
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
<?xml version="1.0" encoding="UTF-8"?> | |
<switchyard xmlns="urn:switchyard-config:switchyard:1.0"> | |
<composite xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200912" name="jca-inflow-hornetq" targetNamespace="urn:switchyard-quickstart:jca-inflow-hornetq:0.1.0"> | |
<service name="GreetingService" promote="GreetingComponent/GreetingService"> | |
<interface.java interface="org.switchyard.quickstarts.jca.inflow.GreetingGateway"/> | |
<binding.jca xmlns="urn:switchyard-component-jca:config:1.0"> | |
<selector:operationSelector.xpath xmlns:selector="urn:switchyard-component-common-selector:config:1.0" expression="//person/language"/> | |
<inboundConnection> | |
<resourceAdapter name="hornetq-ra.rar"/> | |
<activationSpec> | |
<property name="destinationType" value="javax.jms.Queue"/> | |
<property name="destination" value="queue/JCAInflowGreetingServiceQueue"/> | |
</activationSpec> | |
</inboundConnection> | |
<inboundInteraction> | |
<listener>javax.jms.MessageListener</listener> | |
<endpoint type="org.switchyard.component.jca.endpoint.JMSEndpoint"/> | |
<transacted>true</transacted> | |
</inboundInteraction> | |
</binding.jca> | |
</service> | |
<component name="GreetingComponent"> | |
<bean:implementation.bean xmlns:bean="urn:switchyard-component-bean:config:1.0" class="org.switchyard.quickstarts.jca.inflow.GreetingServiceBean"/> | |
<sca:service xmlns:sca="http://docs.oasis-open.org/ns/opencsa/sca/200912" name="GreetingService"> | |
<sca:interface.java interface="org.switchyard.quickstarts.jca.inflow.GreetingService"/> | |
</sca:service> | |
</component> | |
<component name="GreetingService"> | |
<implementation.bean xmlns="urn:switchyard-component-bean:config:1.0" class="org.switchyard.quickstarts.jca.inflow.GreetingServiceBean"/> | |
<service name="GreetingService"> | |
<interface.java interface="org.switchyard.quickstarts.jca.inflow.GreetingService"/> | |
</service> | |
</component> | |
</composite> | |
<transforms xmlns:xform="urn:switchyard-config:transform:1.0"> | |
<xform:transform.jaxb contextPath="org.switchyard.quickstarts.jca.inflow" from="{urn:switchyard-quickstart:jca-inflow-hornetq:0.1.0}person" to="java:org.switchyard.quickstarts.jca.inflow.Person"/> | |
</transforms> | |
</switchyard> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment