summaryrefslogtreecommitdiff
path: root/java
diff options
context:
space:
mode:
authorRajith Muditha Attapattu <rajith@apache.org>2007-01-17 20:28:43 +0000
committerRajith Muditha Attapattu <rajith@apache.org>2007-01-17 20:28:43 +0000
commit0596dd29d27b8a077beed219dc9e268277d12d94 (patch)
tree9b29862cc42ff515d7cfcca83b64647e2d4cfc31 /java
parentbd83128345a1345d235363e300be2f4623c5c297 (diff)
downloadqpid-python-0596dd29d27b8a077beed219dc9e268277d12d94.tar.gz
The method signatures are changed to use the new MessageHeaders and Content classes
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@497162 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java')
-rw-r--r--java/client/src/main/java/org/apache/qpid/client/message/MessageFactory.java7
1 files changed, 3 insertions, 4 deletions
diff --git a/java/client/src/main/java/org/apache/qpid/client/message/MessageFactory.java b/java/client/src/main/java/org/apache/qpid/client/message/MessageFactory.java
index 1fb178a1a4..64584788ef 100644
--- a/java/client/src/main/java/org/apache/qpid/client/message/MessageFactory.java
+++ b/java/client/src/main/java/org/apache/qpid/client/message/MessageFactory.java
@@ -21,17 +21,16 @@
package org.apache.qpid.client.message;
import org.apache.qpid.AMQException;
-import org.apache.qpid.framing.ContentHeaderBody;
+import org.apache.qpid.framing.Content;
import javax.jms.JMSException;
-import java.util.List;
public interface MessageFactory
{
AbstractJMSMessage createMessage(long deliveryTag, boolean redelivered,
- ContentHeaderBody contentHeader,
- List bodies)
+ MessageHeaders contentHeader,
+ Content body)
throws JMSException, AMQException;
AbstractJMSMessage createMessage() throws JMSException;