summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Robie <jonathan@apache.org>2010-04-15 20:32:25 +0000
committerJonathan Robie <jonathan@apache.org>2010-04-15 20:32:25 +0000
commitd674645f9f166654296d4b82e4025b7407c0202b (patch)
tree55784558c0236ea43363e229ad4d5d32ad1d6363
parentb7b7d01af76780a87d0efff2a6e0485666b54870 (diff)
downloadqpid-python-d674645f9f166654296d4b82e4025b7407c0202b.tar.gz
Naming change: variable queueName is now called address.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@934581 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--qpid/cpp/examples/messaging/hello_world.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/qpid/cpp/examples/messaging/hello_world.cpp b/qpid/cpp/examples/messaging/hello_world.cpp
index f861a02d97..360a22d1c2 100644
--- a/qpid/cpp/examples/messaging/hello_world.cpp
+++ b/qpid/cpp/examples/messaging/hello_world.cpp
@@ -16,9 +16,9 @@ int main() {
connection.open();
Session session = connection.createSession();
- std::string queueName = "message_queue";
+ std::string address = "message_queue";
- Sender sender = session.createSender(queueName);
+ Sender sender = session.createSender(address);
for (int i=0; i<5; i++) {
std::stringstream content;
@@ -28,7 +28,7 @@ int main() {
}
sender.close();
- Receiver receiver = session.createReceiver(queueName);
+ Receiver receiver = session.createReceiver(address);
Message message;
Duration timeout(1000); /* in milliseconds */