diff options
| author | Gordon Sim <gsim@apache.org> | 2010-01-28 08:37:37 +0000 |
|---|---|---|
| committer | Gordon Sim <gsim@apache.org> | 2010-01-28 08:37:37 +0000 |
| commit | 507ee7269a2f379e51cd6667db0d0892c159568f (patch) | |
| tree | f55ff48efa8e2b43c3bf3e0f1d4003b4d7fbe88f /cpp/examples/messaging/map_sender.cpp | |
| parent | 3a0f29176a97d2091234f5067ac83640be019e1c (diff) | |
| download | qpid-python-507ee7269a2f379e51cd6667db0d0892c159568f.tar.gz | |
QPID-664: change format of connection options string to match address options; make open() a non-static method.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@904000 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/examples/messaging/map_sender.cpp')
| -rw-r--r-- | cpp/examples/messaging/map_sender.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cpp/examples/messaging/map_sender.cpp b/cpp/examples/messaging/map_sender.cpp index 50150fa3d5..b6e0621844 100644 --- a/cpp/examples/messaging/map_sender.cpp +++ b/cpp/examples/messaging/map_sender.cpp @@ -39,7 +39,8 @@ int main(int argc, char** argv) { const char* url = argc>1 ? argv[1] : "amqp:tcp:127.0.0.1:5672"; try { - Connection connection = Connection::open(url); + Connection connection; + connection.open(url); Session session = connection.newSession(); Sender sender = session.createSender("message_queue"); |
