diff options
author | lresende <lresende@13f79535-47bb-0310-9956-ffa450edef68> | 2009-11-11 23:13:16 +0000 |
---|---|---|
committer | lresende <lresende@13f79535-47bb-0310-9956-ffa450edef68> | 2009-11-11 23:13:16 +0000 |
commit | 3ac2d800d840f03618fc364090d786effde84b1f (patch) | |
tree | e334754cd5c37e1465230497b48cc79584c1f571 /sca-java-1.x/branches/sca-java-20080910/itest/validation/src/main/resources/bindingjms | |
parent | 9bed5ae38c581999db465b42b504026a7097af95 (diff) |
Moving 1.x branches
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@835142 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-1.x/branches/sca-java-20080910/itest/validation/src/main/resources/bindingjms')
19 files changed, 678 insertions, 0 deletions
diff --git a/sca-java-1.x/branches/sca-java-20080910/itest/validation/src/main/resources/bindingjms/DoesntProcessActivationSpec/service.composite b/sca-java-1.x/branches/sca-java-20080910/itest/validation/src/main/resources/bindingjms/DoesntProcessActivationSpec/service.composite new file mode 100644 index 0000000000..fcfe408582 --- /dev/null +++ b/sca-java-1.x/branches/sca-java-20080910/itest/validation/src/main/resources/bindingjms/DoesntProcessActivationSpec/service.composite @@ -0,0 +1,36 @@ +<?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" + name="RPCComposite"> + + <component name="HelloWorldService"> + <implementation.java class="binding.jms.HelloWorldServiceImpl"/> + <service name="HelloWorldService"> + <binding.jms initialContextFactory="org.apache.activemq.jndi.ActiveMQInitialContextFactory" jndiURL="tcp://localhost:61616"> + <destination name="DestQueueA" create="always"/> + <activationSpec name="jms"/> + <response> + <destination name="RespQueueA" create="always"/> + </response> + </binding.jms> + </service> + </component> + +</composite> diff --git a/sca-java-1.x/branches/sca-java-20080910/itest/validation/src/main/resources/bindingjms/DoesntProcessDestinationType/service.composite b/sca-java-1.x/branches/sca-java-20080910/itest/validation/src/main/resources/bindingjms/DoesntProcessDestinationType/service.composite new file mode 100644 index 0000000000..ede3b3fd40 --- /dev/null +++ b/sca-java-1.x/branches/sca-java-20080910/itest/validation/src/main/resources/bindingjms/DoesntProcessDestinationType/service.composite @@ -0,0 +1,35 @@ +<?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" + name="RPCComposite"> + + <component name="HelloWorldService"> + <implementation.java class="binding.jms.HelloWorldServiceImpl"/> + <service name="HelloWorldService"> + <binding.jms initialContextFactory="org.apache.activemq.jndi.ActiveMQInitialContextFactory" jndiURL="tcp://localhost:61616"> + <destination name="DestQueueA" create="always" type="queue"/> + <response> + <destination name="RespQueueA" create="always"/> + </response> + </binding.jms> + </service> + </component> + +</composite> diff --git a/sca-java-1.x/branches/sca-java-20080910/itest/validation/src/main/resources/bindingjms/DoesntProcessHeaders/service.composite b/sca-java-1.x/branches/sca-java-20080910/itest/validation/src/main/resources/bindingjms/DoesntProcessHeaders/service.composite new file mode 100644 index 0000000000..a8c89a0bf5 --- /dev/null +++ b/sca-java-1.x/branches/sca-java-20080910/itest/validation/src/main/resources/bindingjms/DoesntProcessHeaders/service.composite @@ -0,0 +1,36 @@ +<?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" + name="RPCComposite"> + + <component name="HelloWorldService"> + <implementation.java class="binding.jms.HelloWorldServiceImpl"/> + <service name="HelloWorldService"> + <binding.jms initialContextFactory="org.apache.activemq.jndi.ActiveMQInitialContextFactory" jndiURL="tcp://localhost:61616"> + <destination name="DestQueueA" create="always"/> + <response> + <destination name="RespQueueA" create="always"/> + </response> + <headers JMSType="jms"/> + </binding.jms> + </service> + </component> + +</composite> diff --git a/sca-java-1.x/branches/sca-java-20080910/itest/validation/src/main/resources/bindingjms/DoesntProcessResourceAdapter/service.composite b/sca-java-1.x/branches/sca-java-20080910/itest/validation/src/main/resources/bindingjms/DoesntProcessResourceAdapter/service.composite new file mode 100644 index 0000000000..b4e56d1789 --- /dev/null +++ b/sca-java-1.x/branches/sca-java-20080910/itest/validation/src/main/resources/bindingjms/DoesntProcessResourceAdapter/service.composite @@ -0,0 +1,32 @@ +<?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" + name="RPCComposite"> + + <component name="HelloWorldService"> + <implementation.java class="binding.jms.HelloWorldServiceImpl"/> + <service name="HelloWorldService"> + <binding.jms initialContextFactory="org.apache.activemq.jndi.ActiveMQInitialContextFactory" jndiURL="tcp://localhost:61616"> + <resourceAdapter name="resAdpName"/> + </binding.jms> + </service> + </component> + +</composite> diff --git a/sca-java-1.x/branches/sca-java-20080910/itest/validation/src/main/resources/bindingjms/DoesntProcessResponseActivationSpec/service.composite b/sca-java-1.x/branches/sca-java-20080910/itest/validation/src/main/resources/bindingjms/DoesntProcessResponseActivationSpec/service.composite new file mode 100644 index 0000000000..e68eb75d64 --- /dev/null +++ b/sca-java-1.x/branches/sca-java-20080910/itest/validation/src/main/resources/bindingjms/DoesntProcessResponseActivationSpec/service.composite @@ -0,0 +1,35 @@ +<?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" + name="RPCComposite"> + + <component name="HelloWorldService"> + <implementation.java class="binding.jms.HelloWorldServiceImpl"/> + <service name="HelloWorldService"> + <binding.jms initialContextFactory="org.apache.activemq.jndi.ActiveMQInitialContextFactory" jndiURL="tcp://localhost:61616"> + <destination name="DestQueueA" create="always"/> + <response> + <activationSpec name="jms"/> + </response> + </binding.jms> + </service> + </component> + +</composite> diff --git a/sca-java-1.x/branches/sca-java-20080910/itest/validation/src/main/resources/bindingjms/DoesntProcessResponseConnectionFactory/service.composite b/sca-java-1.x/branches/sca-java-20080910/itest/validation/src/main/resources/bindingjms/DoesntProcessResponseConnectionFactory/service.composite new file mode 100644 index 0000000000..00c7a3f86b --- /dev/null +++ b/sca-java-1.x/branches/sca-java-20080910/itest/validation/src/main/resources/bindingjms/DoesntProcessResponseConnectionFactory/service.composite @@ -0,0 +1,35 @@ +<?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" + name="RPCComposite"> + + <component name="HelloWorldService"> + <implementation.java class="binding.jms.HelloWorldServiceImpl"/> + <service name="HelloWorldService"> + <binding.jms initialContextFactory="org.apache.activemq.jndi.ActiveMQInitialContextFactory" jndiURL="tcp://localhost:61616"> + <destination name="DestQueueA" create="always"/> + <response> + <connectionFactory name="RespQueueA"/> + </response> + </binding.jms> + </service> + </component> + +</composite> diff --git a/sca-java-1.x/branches/sca-java-20080910/itest/validation/src/main/resources/bindingjms/DoesntProcessResponseDestinationType/service.composite b/sca-java-1.x/branches/sca-java-20080910/itest/validation/src/main/resources/bindingjms/DoesntProcessResponseDestinationType/service.composite new file mode 100644 index 0000000000..d656d47cfd --- /dev/null +++ b/sca-java-1.x/branches/sca-java-20080910/itest/validation/src/main/resources/bindingjms/DoesntProcessResponseDestinationType/service.composite @@ -0,0 +1,35 @@ +<?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" + name="RPCComposite"> + + <component name="HelloWorldService"> + <implementation.java class="binding.jms.HelloWorldServiceImpl"/> + <service name="HelloWorldService"> + <binding.jms initialContextFactory="org.apache.activemq.jndi.ActiveMQInitialContextFactory" jndiURL="tcp://localhost:61616"> + <destination name="DestQueueA" create="always"/> + <response> + <destination name="RespQueueA" create="always" type="queue"/> + </response> + </binding.jms> + </service> + </component> + +</composite> diff --git a/sca-java-1.x/branches/sca-java-20080910/itest/validation/src/main/resources/bindingjms/InvalidCorrelationScheme/service.composite b/sca-java-1.x/branches/sca-java-20080910/itest/validation/src/main/resources/bindingjms/InvalidCorrelationScheme/service.composite new file mode 100644 index 0000000000..ad1daacfcf --- /dev/null +++ b/sca-java-1.x/branches/sca-java-20080910/itest/validation/src/main/resources/bindingjms/InvalidCorrelationScheme/service.composite @@ -0,0 +1,35 @@ +<?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" + name="RPCComposite"> + + <component name="HelloWorldService"> + <implementation.java class="binding.jms.HelloWorldServiceImpl"/> + <service name="HelloWorldService"> + <binding.jms correlationScheme="correlationScheme" initialContextFactory="org.apache.activemq.jndi.ActiveMQInitialContextFactory" jndiURL="tcp://localhost:61616"> + <destination name="DestQueueA" create="always"/> + <response> + <destination name="RespQueueA" create="always"/> + </response> + </binding.jms> + </service> + </component> + +</composite> diff --git a/sca-java-1.x/branches/sca-java-20080910/itest/validation/src/main/resources/bindingjms/InvalidJMSDeliveryMode/service.composite b/sca-java-1.x/branches/sca-java-20080910/itest/validation/src/main/resources/bindingjms/InvalidJMSDeliveryMode/service.composite new file mode 100644 index 0000000000..145aea9fbc --- /dev/null +++ b/sca-java-1.x/branches/sca-java-20080910/itest/validation/src/main/resources/bindingjms/InvalidJMSDeliveryMode/service.composite @@ -0,0 +1,36 @@ +<?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"
+ name="RPCComposite">
+
+ <component name="HelloWorldService">
+ <implementation.java class="binding.jms.HelloWorldServiceImpl"/>
+ <service name="HelloWorldService">
+ <binding.jms initialContextFactory="org.apache.activemq.jndi.ActiveMQInitialContextFactory" jndiURL="tcp://localhost:61616">
+ <destination name="DestQueueA" create="always"/>
+ <response>
+ <destination name="RespQueueA" create="always"/>
+ </response>
+ <headers JMSType="jms" JMSDeliveryMode="NON_PERSISTENTS" JMSPriority="8"/>
+ </binding.jms>
+ </service>
+ </component>
+
+</composite>
diff --git a/sca-java-1.x/branches/sca-java-20080910/itest/validation/src/main/resources/bindingjms/InvalidJMSPriority/service.composite b/sca-java-1.x/branches/sca-java-20080910/itest/validation/src/main/resources/bindingjms/InvalidJMSPriority/service.composite new file mode 100644 index 0000000000..c52da84a0c --- /dev/null +++ b/sca-java-1.x/branches/sca-java-20080910/itest/validation/src/main/resources/bindingjms/InvalidJMSPriority/service.composite @@ -0,0 +1,36 @@ +<?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"
+ name="RPCComposite">
+
+ <component name="HelloWorldService">
+ <implementation.java class="binding.jms.HelloWorldServiceImpl"/>
+ <service name="HelloWorldService">
+ <binding.jms initialContextFactory="org.apache.activemq.jndi.ActiveMQInitialContextFactory" jndiURL="tcp://localhost:61616">
+ <destination name="DestQueueA" create="always"/>
+ <response>
+ <destination name="RespQueueA" create="always"/>
+ </response>
+ <headers JMSType="jms" JMSDeliveryMode="NON_PERSISTENT" JMSPriority="20"/>
+ </binding.jms>
+ </service>
+ </component>
+
+</composite>
diff --git a/sca-java-1.x/branches/sca-java-20080910/itest/validation/src/main/resources/bindingjms/InvalidResponseDestinationType/service.composite b/sca-java-1.x/branches/sca-java-20080910/itest/validation/src/main/resources/bindingjms/InvalidResponseDestinationType/service.composite new file mode 100644 index 0000000000..fb35f5d1b8 --- /dev/null +++ b/sca-java-1.x/branches/sca-java-20080910/itest/validation/src/main/resources/bindingjms/InvalidResponseDestinationType/service.composite @@ -0,0 +1,35 @@ +<?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" + name="RPCComposite"> + + <component name="HelloWorldService"> + <implementation.java class="binding.jms.HelloWorldServiceImpl"/> + <service name="HelloWorldService"> + <binding.jms initialContextFactory="org.apache.activemq.jndi.ActiveMQInitialContextFactory" jndiURL="tcp://localhost:61616"> + <destination name="DestQueueA" create="always"/> + <response> + <destination name="RespQueueA" create="always" type="no"/> + </response> + </binding.jms> + </service> + </component> + +</composite> diff --git a/sca-java-1.x/branches/sca-java-20080910/itest/validation/src/main/resources/bindingjms/MissingActivationSpecName/service.composite b/sca-java-1.x/branches/sca-java-20080910/itest/validation/src/main/resources/bindingjms/MissingActivationSpecName/service.composite new file mode 100644 index 0000000000..fcdf25455c --- /dev/null +++ b/sca-java-1.x/branches/sca-java-20080910/itest/validation/src/main/resources/bindingjms/MissingActivationSpecName/service.composite @@ -0,0 +1,36 @@ +<?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" + name="RPCComposite"> + + <component name="HelloWorldService"> + <implementation.java class="binding.jms.HelloWorldServiceImpl"/> + <service name="HelloWorldService"> + <binding.jms initialContextFactory="org.apache.activemq.jndi.ActiveMQInitialContextFactory" jndiURL="tcp://localhost:61616"> + <activationSpec name=""/> + <destination name="DestQueueA" create="always"/> + <response> + <destination name="RespQueueA" create="always"/> + </response> + </binding.jms> + </service> + </component> + +</composite> diff --git a/sca-java-1.x/branches/sca-java-20080910/itest/validation/src/main/resources/bindingjms/MissingConnectionFactoryName/service.composite b/sca-java-1.x/branches/sca-java-20080910/itest/validation/src/main/resources/bindingjms/MissingConnectionFactoryName/service.composite new file mode 100644 index 0000000000..14f1314a1b --- /dev/null +++ b/sca-java-1.x/branches/sca-java-20080910/itest/validation/src/main/resources/bindingjms/MissingConnectionFactoryName/service.composite @@ -0,0 +1,36 @@ +<?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" + name="RPCComposite"> + + <component name="HelloWorldService"> + <implementation.java class="binding.jms.HelloWorldServiceImpl"/> + <service name="HelloWorldService"> + <binding.jms initialContextFactory="org.apache.activemq.jndi.ActiveMQInitialContextFactory" jndiURL="tcp://localhost:61616"> + <connectionFactory name=""/> + <destination name="DestQueueA" create="always"/> + <response> + <destination name="RespQueueA" create="always"/> + </response> + </binding.jms> + </service> + </component> + +</composite> diff --git a/sca-java-1.x/branches/sca-java-20080910/itest/validation/src/main/resources/bindingjms/MissingResponseActivationSpec/service.composite b/sca-java-1.x/branches/sca-java-20080910/itest/validation/src/main/resources/bindingjms/MissingResponseActivationSpec/service.composite new file mode 100644 index 0000000000..1a3cb21ac6 --- /dev/null +++ b/sca-java-1.x/branches/sca-java-20080910/itest/validation/src/main/resources/bindingjms/MissingResponseActivationSpec/service.composite @@ -0,0 +1,36 @@ +<?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" + name="RPCComposite"> + + <component name="HelloWorldService"> + <implementation.java class="binding.jms.HelloWorldServiceImpl"/> + <service name="HelloWorldService"> + <binding.jms initialContextFactory="org.apache.activemq.jndi.ActiveMQInitialContextFactory" jndiURL="tcp://localhost:61616"> + <destination name="DestQueueA" create="always"/> + <response> + <activationSpec name=""/> + <destination name="RespQueueA" create="always"/> + </response> + </binding.jms> + </service> + </component> + +</composite> diff --git a/sca-java-1.x/branches/sca-java-20080910/itest/validation/src/main/resources/bindingjms/MissingResponseConnectionFactory/service.composite b/sca-java-1.x/branches/sca-java-20080910/itest/validation/src/main/resources/bindingjms/MissingResponseConnectionFactory/service.composite new file mode 100644 index 0000000000..80b8f9d938 --- /dev/null +++ b/sca-java-1.x/branches/sca-java-20080910/itest/validation/src/main/resources/bindingjms/MissingResponseConnectionFactory/service.composite @@ -0,0 +1,36 @@ +<?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" + name="RPCComposite"> + + <component name="HelloWorldService"> + <implementation.java class="binding.jms.HelloWorldServiceImpl"/> + <service name="HelloWorldService"> + <binding.jms initialContextFactory="org.apache.activemq.jndi.ActiveMQInitialContextFactory" jndiURL="tcp://localhost:61616"> + <destination name="DestQueueA" create="always"/> + <response> + <connectionFactory name=""/> + <destination name="RespQueueA" create="always"/> + </response> + </binding.jms> + </service> + </component> + +</composite> diff --git a/sca-java-1.x/branches/sca-java-20080910/itest/validation/src/main/resources/bindingjms/MustStartWithSchema/service.composite b/sca-java-1.x/branches/sca-java-20080910/itest/validation/src/main/resources/bindingjms/MustStartWithSchema/service.composite new file mode 100644 index 0000000000..8fd1e2f554 --- /dev/null +++ b/sca-java-1.x/branches/sca-java-20080910/itest/validation/src/main/resources/bindingjms/MustStartWithSchema/service.composite @@ -0,0 +1,36 @@ +<?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" + name="RPCComposite"> + + <component name="HelloWorldService"> + <implementation.java class="binding.jms.HelloWorldServiceImpl"/> + <service name="HelloWorldService"> + <binding.jms initialContextFactory="org.apache.activemq.jndi.ActiveMQInitialContextFactory" + jndiURL="tcp://localhost:61616" uri="tuscany://localhost:17171"> + <destination name="DestQueueA" create="always"/> + <response> + <destination name="RespQueueA" create="always"/> + </response> + </binding.jms> + </service> + </component> + +</composite> diff --git a/sca-java-1.x/branches/sca-java-20080910/itest/validation/src/main/resources/bindingjms/UnexpectedElement/service.composite b/sca-java-1.x/branches/sca-java-20080910/itest/validation/src/main/resources/bindingjms/UnexpectedElement/service.composite new file mode 100644 index 0000000000..b74682e1bd --- /dev/null +++ b/sca-java-1.x/branches/sca-java-20080910/itest/validation/src/main/resources/bindingjms/UnexpectedElement/service.composite @@ -0,0 +1,38 @@ +<?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" + name="RPCComposite"> + + <component name="HelloWorldService"> + <implementation.java class="binding.jms.HelloWorldServiceImpl"/> + <service name="HelloWorldService"> + <binding.jms initialContextFactory="org.apache.activemq.jndi.ActiveMQInitialContextFactory" jndiURL="tcp://localhost:61616"> + <destination name="DestQueueA" create="always"/> + <response> + <destination name="RespQueueA" create="always"/> + </response> + <resourceAdapter name="resource"> + <property name="resourceName" type="jms"/> + </resourceAdapter> + </binding.jms> + </service> + </component> + +</composite> diff --git a/sca-java-1.x/branches/sca-java-20080910/itest/validation/src/main/resources/bindingjms/UnexpectedResponseElement/service.composite b/sca-java-1.x/branches/sca-java-20080910/itest/validation/src/main/resources/bindingjms/UnexpectedResponseElement/service.composite new file mode 100644 index 0000000000..f439ab6260 --- /dev/null +++ b/sca-java-1.x/branches/sca-java-20080910/itest/validation/src/main/resources/bindingjms/UnexpectedResponseElement/service.composite @@ -0,0 +1,38 @@ +<?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" + name="RPCComposite"> + + <component name="HelloWorldService"> + <implementation.java class="binding.jms.HelloWorldServiceImpl"/> + <service name="HelloWorldService"> + <binding.jms initialContextFactory="org.apache.activemq.jndi.ActiveMQInitialContextFactory" jndiURL="tcp://localhost:61616"> + <destination name="DestQueueA" create="always"/> + <response> + <destination name="RespQueueA" create="always"/> + <connectionFactory name="RespQueueA"> + <property name="RespQueueA"/> + </connectionFactory> + </response> + </binding.jms> + </service> + </component> + +</composite> diff --git a/sca-java-1.x/branches/sca-java-20080910/itest/validation/src/main/resources/bindingjms/UnknownTokenInURI/service.composite b/sca-java-1.x/branches/sca-java-20080910/itest/validation/src/main/resources/bindingjms/UnknownTokenInURI/service.composite new file mode 100644 index 0000000000..e22f30152e --- /dev/null +++ b/sca-java-1.x/branches/sca-java-20080910/itest/validation/src/main/resources/bindingjms/UnknownTokenInURI/service.composite @@ -0,0 +1,36 @@ +<?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" + name="RPCComposite"> + + <component name="HelloWorldService"> + <implementation.java class="binding.jms.HelloWorldServiceImpl"/> + <service name="HelloWorldService"> + <binding.jms initialContextFactory="org.apache.activemq.jndi.ActiveMQInitialContextFactory" + jndiURL="tcp://localhost:61616" uri="jms://queue.sample?transport.jms=QueueConnectionFactory"> + <destination name="DestQueueA" create="always"/> + <response> + <destination name="RespQueueA" create="always"/> + </response> + </binding.jms> + </service> + </component> + +</composite> |