diff options
author | mcombellack <mcombellack@13f79535-47bb-0310-9956-ffa450edef68> | 2009-07-12 21:53:48 +0000 |
---|---|---|
committer | mcombellack <mcombellack@13f79535-47bb-0310-9956-ffa450edef68> | 2009-07-12 21:53:48 +0000 |
commit | a56ad24846d364b48f8cc1d78d94bc10cd9f0aff (patch) | |
tree | b29c93e552ef61ef890da32196d6bc9ef87f1e96 /sandbox/travelsample/contributions/notification-jms-contribution/src/main/resources/notification-jms.composite | |
parent | 4818f9680257898f1d96421d5102c0cd762ccc80 (diff) |
Initial commit of notification service that uses a JMS binding
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@793413 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r-- | sandbox/travelsample/contributions/notification-jms-contribution/src/main/resources/notification-jms.composite | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/sandbox/travelsample/contributions/notification-jms-contribution/src/main/resources/notification-jms.composite b/sandbox/travelsample/contributions/notification-jms-contribution/src/main/resources/notification-jms.composite new file mode 100644 index 0000000000..2f44ff99ab --- /dev/null +++ b/sandbox/travelsample/contributions/notification-jms-contribution/src/main/resources/notification-jms.composite @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. +--> +<composite xmlns="http://www.osoa.org/xmlns/sca/1.0" + xmlns:sca="http://www.osoa.org/xmlns/sca/1.0" + targetNamespace="http://goodvaluetrips.com/" + name="notification"> + + <component name="Notification"> + <implementation.java class="scatours.notification.NotificationImpl" /> + <service name="Notification"> + <interface.java interface="scatours.notification.Notification"/> + </service> + + <reference name="smsGateway"> + <interface.java interface="scatours.smsgateway.SMSGateway"/> + <binding.jms initialContextFactory="org.apache.activemq.jndi.ActiveMQInitialContextFactory" + jndiURL="tcp://localhost:61619"> + <destination name="SMSRequestQueue" create="ifnotexist"/> + <response> + <destination name="SMSResponseQueue" create="ifnotexist"/> + </response> + </binding.jms> + </reference> + </component> +</composite> |