summaryrefslogtreecommitdiffstats
path: root/sandbox/event/samples/event-jms/src/main/resources/weatherSubscriber.composite
diff options
context:
space:
mode:
Diffstat (limited to 'sandbox/event/samples/event-jms/src/main/resources/weatherSubscriber.composite')
-rw-r--r--sandbox/event/samples/event-jms/src/main/resources/weatherSubscriber.composite10
1 files changed, 9 insertions, 1 deletions
diff --git a/sandbox/event/samples/event-jms/src/main/resources/weatherSubscriber.composite b/sandbox/event/samples/event-jms/src/main/resources/weatherSubscriber.composite
index 2166def160..09f0b741e3 100644
--- a/sandbox/event/samples/event-jms/src/main/resources/weatherSubscriber.composite
+++ b/sandbox/event/samples/event-jms/src/main/resources/weatherSubscriber.composite
@@ -26,12 +26,20 @@
<component name="WeatherSubscriberComponent">
<implementation.java class="weather.WeatherSubscriberComponent"/>
+ <service name="WeatherSubscriber">
+ <interface.java interface="weather.WeatherSubscriber"/>
+ </service>
+
<consumer name="weatherSubscriber" eventTypes="WeatherEvent">
+ <tuscany:binding.event/>
+ <!--
<binding.jms initialContextFactory="org.apache.activemq.jndi.ActiveMQInitialContextFactory"
- jndiURL="tcp://localhost:61619">
+ jndiURL="tcp://localhost:61619"
+ messageProcessor="org.apache.tuscany.sca.binding.jms.provider.ObjectMessageProcessor">
<destination name="WeatherQueue" create="ifnotexist"/>
</binding.jms>
+ -->
</consumer>
</component>