diff options
| author | Kim van der Riet <kpvdr@apache.org> | 2007-02-20 21:04:49 +0000 |
|---|---|---|
| committer | Kim van der Riet <kpvdr@apache.org> | 2007-02-20 21:04:49 +0000 |
| commit | 8913650e0f7ad901056d7eddff8a108e283a20d1 (patch) | |
| tree | 8d8a8fc10d835431de9925465dcef330c804e130 /java/client/src/main | |
| parent | bae5b4dac83c2cc28badf10f2fde659066ec27fe (diff) | |
| download | qpid-python-8913650e0f7ad901056d7eddff8a108e283a20d1.tar.gz | |
Added simple transaction test with commit and rollback for message reference transfers. There is plenty of scope for more sophisticated tests.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@509754 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/client/src/main')
| -rw-r--r-- | java/client/src/main/java/org/apache/qpid/client/AMQSession.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/java/client/src/main/java/org/apache/qpid/client/AMQSession.java b/java/client/src/main/java/org/apache/qpid/client/AMQSession.java index f4d588ca9b..d24892d9b6 100644 --- a/java/client/src/main/java/org/apache/qpid/client/AMQSession.java +++ b/java/client/src/main/java/org/apache/qpid/client/AMQSession.java @@ -837,6 +837,12 @@ public class AMQSession extends Closeable implements Session, QueueSession, Topi } // Test purposes only - used for testing refs, which cannot be done using JMS interfaces + public BasicMessageProducer createBasicProducer(Destination destination) throws JMSException + { + return (BasicMessageProducer)createProducerImpl(destination, DEFAULT_MANDATORY, DEFAULT_IMMEDIATE); + } + + // Test purposes only - used for testing refs, which cannot be done using JMS interfaces public BasicMessageProducer createBasicProducer(Topic destination) throws JMSException { return (BasicMessageProducer)createProducerImpl(destination, DEFAULT_MANDATORY, DEFAULT_IMMEDIATE); |
