diff options
author | Gordon Sim <gsim@apache.org> | 2010-03-24 18:35:11 +0000 |
---|---|---|
committer | Gordon Sim <gsim@apache.org> | 2010-03-24 18:35:11 +0000 |
commit | b5d1ef6d40dced4d81d6e57b3ec748f4ac9284ee (patch) | |
tree | b27010210b5773be5cc3675f32e0b50b0e652ec3 /cpp/examples/messaging | |
parent | d0cc60e1462d2a8258ebff5e36b19ca709d23d64 (diff) | |
download | qpid-python-b5d1ef6d40dced4d81d6e57b3ec748f4ac9284ee.tar.gz |
QPID-664: Updates to address options to stay in-line with python client changes in r926604
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@927144 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/examples/messaging')
-rw-r--r-- | cpp/examples/messaging/readme.txt | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/cpp/examples/messaging/readme.txt b/cpp/examples/messaging/readme.txt index 0430b8e2da..ff145e0160 100644 --- a/cpp/examples/messaging/readme.txt +++ b/cpp/examples/messaging/readme.txt @@ -96,7 +96,7 @@ of address (as there is no existing entity from which to infer that type and as we do not want the default type to be created, namely a queue): -* run: ./drain -f --address 'my-new-topic; {create: always, node-properties:{type:topic}}' +* run: ./drain -f --address 'my-new-topic; {create: always, node:{type:topic}}' * then run: ./spout --address my-new-queue The value to the create policy is one of always, sender, receiver or @@ -128,19 +128,17 @@ qpid-config or even auto-create one): An example using xquery based filtering with the xml exchange: * First start a subscriber with an xquery filter specified: - ./drain -f --address 'xml/my-subject; {filter:{xquery:"declare variable $colour external; $colour = '\''red'\''"}}' + ./drain -f --address 'xml; {link:{x-bindings:[{arguments:{xquery:"declare variable $colour external; $colour = '\''red'\''"}}]}}' * Then test receipt of messages that match the xquery filter: - ./spout --address 'xml/my-subject' --property colour=red --content 'matched!' + ./spout --address 'xml' --property colour=red --content 'matched!' and - ./spout --address 'xml/my-subject' --property colour=blue --content 'not matched' + ./spout --address 'xml' --property colour=blue --content 'not matched' TODO: * auto-creating exchanges of different types -* xml content in the xquery example - * 'durable' and 'reliable' subscriptions * map content |