diff options
author | Rajith Muditha Attapattu <rajith@apache.org> | 2011-10-14 22:29:03 +0000 |
---|---|---|
committer | Rajith Muditha Attapattu <rajith@apache.org> | 2011-10-14 22:29:03 +0000 |
commit | 390b6b48b9808a1862b48b3e324451b95f465ed4 (patch) | |
tree | 8190d53d1c3d3022690be7a0b39dd848331a74e0 /java/client/example/src/main/java/org/apache/qpid/example/Spout.java | |
parent | c77eff7738c4bd8424fd2205788a3f34ace13df5 (diff) | |
download | qpid-python-address-refactor.tar.gz |
QPID-3401 Checking the proposed changes into a branch to preserve history & continue working until such time it's accepted into trunk.address-refactor
git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/address-refactor@1183532 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/client/example/src/main/java/org/apache/qpid/example/Spout.java')
-rw-r--r-- | java/client/example/src/main/java/org/apache/qpid/example/Spout.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/java/client/example/src/main/java/org/apache/qpid/example/Spout.java b/java/client/example/src/main/java/org/apache/qpid/example/Spout.java index 5da319a658..6e7b7c85ba 100644 --- a/java/client/example/src/main/java/org/apache/qpid/example/Spout.java +++ b/java/client/example/src/main/java/org/apache/qpid/example/Spout.java @@ -27,7 +27,7 @@ import javax.jms.Message; import javax.jms.MessageProducer; import javax.jms.Session; -import org.apache.qpid.client.AMQAnyDestination; +import org.apache.qpid.client.AddressBasedDestination; public class Spout extends OptionParser { @@ -87,7 +87,7 @@ public class Spout extends OptionParser Connection con = createConnection(); con.start(); Session ssn = con.createSession(false,Session.AUTO_ACKNOWLEDGE); - Destination dest = new AMQAnyDestination(address); + Destination dest = new AddressBasedDestination(address); MessageProducer producer = ssn.createProducer(dest); int count = Integer.parseInt(getOp(COUNT)); |