summaryrefslogtreecommitdiff
path: root/java/client/src/test
diff options
context:
space:
mode:
authorRajith Muditha Attapattu <rajith@apache.org>2013-01-25 21:32:42 +0000
committerRajith Muditha Attapattu <rajith@apache.org>2013-01-25 21:32:42 +0000
commit27bc1c13d6cb1141f4af6744043c16cb4d62fb01 (patch)
tree380433b9fdd8990ebba9162746058aac88ff5805 /java/client/src/test
parent2541a46faa19412b23d37966ba99af6ba05034ba (diff)
downloadqpid-python-27bc1c13d6cb1141f4af6744043c16cb4d62fb01.tar.gz
QPID-4541 Added the ability to turn off replay at the time the session
is created. The XASessionImpl will use this feature to turn off replay on the underlying JMS session. This prevents messages being replayed outside the boundaries of the XA transaction. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1438725 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/client/src/test')
-rw-r--r--java/client/src/test/java/org/apache/qpid/client/AMQSession_0_10Test.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/client/src/test/java/org/apache/qpid/client/AMQSession_0_10Test.java b/java/client/src/test/java/org/apache/qpid/client/AMQSession_0_10Test.java
index 59181c3a13..d4e0ee60a6 100644
--- a/java/client/src/test/java/org/apache/qpid/client/AMQSession_0_10Test.java
+++ b/java/client/src/test/java/org/apache/qpid/client/AMQSession_0_10Test.java
@@ -597,7 +597,7 @@ public class AMQSession_0_10Test extends QpidTestCase
connection.setSessionFactory(new SessionFactory()
{
- public Session newSession(Connection conn, Binary name, long expiry)
+ public Session newSession(Connection conn, Binary name, long expiry, boolean isNoReplay)
{
return new MockSession(conn, new SessionDelegate(), name, expiry, throwException);
}