From c8f58fe2afa3f2f3bdf86846a48cb5a6dd7d503b Mon Sep 17 00:00:00 2001 From: slaws Date: Sun, 30 Nov 2008 13:46:51 +0000 Subject: Tidy jms policy implementations to remove code from the binding and put it into binding wire interceptors. The implication is that the JMS runtime no longer depends on the JMS policy package. Also get rid of split packages in wire format and operation selector packages. Add a binding context to the Tuscany message so that you don't have to keep finding it in the message header. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@721811 13f79535-47bb-0310-9956-ffa450edef68 --- .../main/java/org/apache/tuscany/sca/invocation/Message.java | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'branches/sca-java-1.x/modules/core-spi') diff --git a/branches/sca-java-1.x/modules/core-spi/src/main/java/org/apache/tuscany/sca/invocation/Message.java b/branches/sca-java-1.x/modules/core-spi/src/main/java/org/apache/tuscany/sca/invocation/Message.java index 9c6f4a3500..16cb4132e4 100644 --- a/branches/sca-java-1.x/modules/core-spi/src/main/java/org/apache/tuscany/sca/invocation/Message.java +++ b/branches/sca-java-1.x/modules/core-spi/src/main/java/org/apache/tuscany/sca/invocation/Message.java @@ -113,4 +113,15 @@ public interface Message { * @return */ List getHeaders(); + + /** + * Returns the binding context in force for this message + */ + T getBindingContext(); + + /** + * Set the binding context that is in force for this message + * @param bindingContext + */ + void setBindingContext(T bindingContext); } -- cgit v1.2.3