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 | 1e275cd7e3c1eb5e8e0fbe550b846bbfe2309d51 (patch) | |
| tree | 75e3aceacd5fd31130cc46cd9abfd564cc3d1433 /qpid/cpp/examples/messaging/map_sender.cpp | |
| parent | 73aec7c7edc1f43dcadf6b60627299ab1fa81a34 (diff) | |
| download | qpid-python-1e275cd7e3c1eb5e8e0fbe550b846bbfe2309d51.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@904000 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/examples/messaging/map_sender.cpp')
| -rw-r--r-- | qpid/cpp/examples/messaging/map_sender.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/qpid/cpp/examples/messaging/map_sender.cpp b/qpid/cpp/examples/messaging/map_sender.cpp index 50150fa3d5..b6e0621844 100644 --- a/qpid/cpp/examples/messaging/map_sender.cpp +++ b/qpid/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"); |
