summaryrefslogtreecommitdiffstats
path: root/sandbox/event/samples/event-jms/src/main/resources
diff options
context:
space:
mode:
Diffstat (limited to 'sandbox/event/samples/event-jms/src/main/resources')
-rw-r--r--sandbox/event/samples/event-jms/src/main/resources/weatherPublisher.composite4
-rw-r--r--sandbox/event/samples/event-jms/src/main/resources/weatherSubscriber.composite4
2 files changed, 8 insertions, 0 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 6b2e59dc8f..8c1e84adfc 100644
--- a/sandbox/event/samples/event-jms/src/main/resources/weatherPublisher.composite
+++ b/sandbox/event/samples/event-jms/src/main/resources/weatherPublisher.composite
@@ -31,6 +31,10 @@
<producer name="weatherPublisher">
+ <binding.jms initialContextFactory="org.apache.activemq.jndi.ActiveMQInitialContextFactory"
+ jndiURL="tcp://localhost:61619">
+ <destination name="WeatherQueue" create="ifnotexist"/>
+ </binding.jms>
</producer>
</component>
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 eac1b242ea..b4fcae1565 100644
--- a/sandbox/event/samples/event-jms/src/main/resources/weatherSubscriber.composite
+++ b/sandbox/event/samples/event-jms/src/main/resources/weatherSubscriber.composite
@@ -28,6 +28,10 @@
<consumer name="weatherSubscriber">
+ <binding.jms initialContextFactory="org.apache.activemq.jndi.ActiveMQInitialContextFactory"
+ jndiURL="tcp://localhost:61619">
+ <destination name="WeatherQueue" create="ifnotexist"/>
+ </binding.jms>
</consumer>
</component>