summaryrefslogtreecommitdiffstats
path: root/sandbox/event
diff options
context:
space:
mode:
Diffstat (limited to 'sandbox/event')
-rw-r--r--sandbox/event/samples/event-jms/src/main/resources/weatherPublisher.composite2
-rw-r--r--sandbox/event/samples/event-jms/src/main/resources/weatherSubscriber.composite2
2 files changed, 2 insertions, 2 deletions
diff --git a/sandbox/event/samples/event-jms/src/main/resources/weatherPublisher.composite b/sandbox/event/samples/event-jms/src/main/resources/weatherPublisher.composite
index 8c1e84adfc..9eb7e6c880 100644
--- a/sandbox/event/samples/event-jms/src/main/resources/weatherPublisher.composite
+++ b/sandbox/event/samples/event-jms/src/main/resources/weatherPublisher.composite
@@ -30,7 +30,7 @@
</service>
- <producer name="weatherPublisher">
+ <producer name="weatherPublisher" eventTypes="WeatherEvent">
<binding.jms initialContextFactory="org.apache.activemq.jndi.ActiveMQInitialContextFactory"
jndiURL="tcp://localhost:61619">
<destination name="WeatherQueue" create="ifnotexist"/>
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 b4fcae1565..2166def160 100644
--- a/sandbox/event/samples/event-jms/src/main/resources/weatherSubscriber.composite
+++ b/sandbox/event/samples/event-jms/src/main/resources/weatherSubscriber.composite
@@ -27,7 +27,7 @@
<implementation.java class="weather.WeatherSubscriberComponent"/>
- <consumer name="weatherSubscriber">
+ <consumer name="weatherSubscriber" eventTypes="WeatherEvent">
<binding.jms initialContextFactory="org.apache.activemq.jndi.ActiveMQInitialContextFactory"
jndiURL="tcp://localhost:61619">
<destination name="WeatherQueue" create="ifnotexist"/>