diff options
author | rsivaram <rsivaram@13f79535-47bb-0310-9956-ffa450edef68> | 2008-11-12 13:16:06 +0000 |
---|---|---|
committer | rsivaram <rsivaram@13f79535-47bb-0310-9956-ffa450edef68> | 2008-11-12 13:16:06 +0000 |
commit | af0cfc49958afa2ef6c44384cb5d5d8ca4c516da (patch) | |
tree | d6d049845ae04a9f21d67513bde2ee5edf4cf363 /sandbox/event/samples/event-jms/src/main/resources/weatherSubscriber.composite | |
parent | 29f3940a57d823817db96b41ccd1e9c7a88c4adc (diff) |
Event prototype: event binding with JMS-based default binding
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@713362 13f79535-47bb-0310-9956-ffa450edef68
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.composite | 10 |
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>
|