diff options
author | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2008-09-24 08:13:02 +0000 |
---|---|---|
committer | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2008-09-24 08:13:02 +0000 |
commit | 8d6c3f989bb2f359091468534730080425afa8c4 (patch) | |
tree | 986a29d3ef78d0b960ddb4dc98e15adc831ffe84 /java/sca/itest | |
parent | 9f462538f3ac1e5522a87206a0668ecdecc9e3c4 (diff) |
Change message getHeaders() operation to return a list, remove the QoS context and change various tests to take account of this assuming that the security information is now passed in the header. This pass the security context is not consolidated into a single subject. The tests that used to pass just a principal still do. Also add a delivery mode JMS policy test. Add some ignores.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@698457 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/sca/itest')
-rw-r--r-- | java/sca/itest/builder/src/test/java/org/apache/tuscany/sca/itest/builder/CustomCompositeBuilder.java | 2 | ||||
-rw-r--r-- | java/sca/itest/jms/src/main/resources/policyHeaders/definitions.xml | 15 |
2 files changed, 15 insertions, 2 deletions
diff --git a/java/sca/itest/builder/src/test/java/org/apache/tuscany/sca/itest/builder/CustomCompositeBuilder.java b/java/sca/itest/builder/src/test/java/org/apache/tuscany/sca/itest/builder/CustomCompositeBuilder.java index 82a8ca6689..6d829033a3 100644 --- a/java/sca/itest/builder/src/test/java/org/apache/tuscany/sca/itest/builder/CustomCompositeBuilder.java +++ b/java/sca/itest/builder/src/test/java/org/apache/tuscany/sca/itest/builder/CustomCompositeBuilder.java @@ -78,7 +78,7 @@ public class CustomCompositeBuilder { private Composite domainComposite;
private boolean nonWiring;
- protected CustomCompositeBuilder(boolean nonWiring) {
+ public CustomCompositeBuilder(boolean nonWiring) {
this.nonWiring = nonWiring;
}
diff --git a/java/sca/itest/jms/src/main/resources/policyHeaders/definitions.xml b/java/sca/itest/jms/src/main/resources/policyHeaders/definitions.xml index 0cdda97a11..dd4350c6fe 100644 --- a/java/sca/itest/jms/src/main/resources/policyHeaders/definitions.xml +++ b/java/sca/itest/jms/src/main/resources/policyHeaders/definitions.xml @@ -22,7 +22,7 @@ xmlns:tuscany="http://tuscany.apache.org/xmlns/sca/1.0" xmlns:sca="http://www.osoa.org/xmlns/sca/1.0"> - <policySet name="JMSPolicySet" + <policySet name="JMSPolicySet1" provides="priority" appliesTo="sca:binding.jms"> <intentMap provides="priority" default="medium"> @@ -37,5 +37,18 @@ </qualifier> </intentMap> </policySet> + + <policySet name="JMSPolicySet2" + provides="deliveryMode" + appliesTo="sca:binding.jms"> + <intentMap provides="deliveryMode" default="nonPersistent"> + <qualifier name="persistent"> + <tuscany:jmsHeader JMSDeliveryMode="PERSISTENT"/> + </qualifier> + <qualifier name="nonPersistent"> + <tuscany:jmsHeader JMSDeliveryMode="NON_PERSISTENT"/> + </qualifier> + </intentMap> + </policySet> </definitions>
\ No newline at end of file |