summaryrefslogtreecommitdiff
path: root/cpp/examples/messaging/queue_sender.cpp
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2010-03-31 16:17:17 +0000
committerGordon Sim <gsim@apache.org>2010-03-31 16:17:17 +0000
commitf6f1900eb98cc1773a88a3ec309afa646438a384 (patch)
tree68e50e7aa1819afd283d73700965b539355a779d /cpp/examples/messaging/queue_sender.cpp
parent887281838e4bf7825189ce3b0a8d7509789e6a08 (diff)
downloadqpid-python-f6f1900eb98cc1773a88a3ec309afa646438a384.tar.gz
QPID-664: made changes suggested by Alan Conway, also moved 0-10 map/list codecs to common lib
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@929606 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/examples/messaging/queue_sender.cpp')
-rw-r--r--cpp/examples/messaging/queue_sender.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/examples/messaging/queue_sender.cpp b/cpp/examples/messaging/queue_sender.cpp
index 439e1dffaf..0d86f024b3 100644
--- a/cpp/examples/messaging/queue_sender.cpp
+++ b/cpp/examples/messaging/queue_sender.cpp
@@ -37,7 +37,7 @@ int main(int argc, char** argv) {
Connection connection;
try {
connection.open(url);
- Session session = connection.newSession();
+ Session session = connection.createSession();
Sender sender = session.createSender("message_queue");
// Now send some messages ...