diff options
author | Jonathan Robie <jonathan@apache.org> | 2010-04-15 20:32:25 +0000 |
---|---|---|
committer | Jonathan Robie <jonathan@apache.org> | 2010-04-15 20:32:25 +0000 |
commit | b12d2a97429a0c3c1bf6101f79f5fca29309ceed (patch) | |
tree | c2d8dcb5290c40215c7f56317b264fdcd0c6a196 /cpp/examples/messaging | |
parent | c436409fa83c900394edf0fc1756ac9b653bec29 (diff) | |
download | qpid-python-b12d2a97429a0c3c1bf6101f79f5fca29309ceed.tar.gz |
Naming change: variable queueName is now called address.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@934581 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/examples/messaging')
-rw-r--r-- | cpp/examples/messaging/hello_world.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/examples/messaging/hello_world.cpp b/cpp/examples/messaging/hello_world.cpp index f861a02d97..360a22d1c2 100644 --- a/cpp/examples/messaging/hello_world.cpp +++ b/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 */ |