Page Created :
qpid :
Proposal for a new JMS Destination configuration
Proposal for a new JMS Destination configuration has been created by Rajith Attapattu (Apr 28, 2009). Content:The proposal is organized as follows.1. Design concepts/notes Design concepts/notes
Configuration format with examplesThe new format consists of definitions for queues, publisher/consumer links and destinations in key/value pairs. xqueue.<id> = name='value1'[;key2='value2';key3='value3'......] pub.link.<id> = key1='value1';key2='value2';key3='value3'...... sub.link.<id> = key1='value1';key2='value2';key3='value3'...... xdestination.<jndiName> = queue='<id>'[;pub.link='<id>';sub.link='<id>'] Using queue, pub/sub links def's you can compose destinations. ExamplesIn the simplest formxqueue.myQueue = name='myQueue' xdestination.myQueue = queue=myQueue This is equivalent to the old queue = myQueue format. Using qpid specific options and per destination switchesxqueue.tradeQueue1 = name='trade-queue1';durable='true' xqueue.tradeQueue2 = name='trade-queue2';qpid.max_size='5000';qpid.policy_type='ring' pub.link.trade1 = filter='amq.direct/tradeQueue1';sync-publish='all' pub.link.trade2 = filter='amq.direct/tradeQueue2';create-queue='true' sub.link.mylink = msg-credits='1000';byte-credits='1000';sync-ack='true' xdestination.myLocalTrades = queue='tradeQueue1';pub.link='trade1';sub.link='myLink' xdestination.myDailyTrades = queue='tradeQueue2';pub.link='trade2';sub.link='myLink' Binding a queue to multiple exchange/routing key pairsUsing the above queue definition. sub.link.multiLink = msg-credits='1000';bindings='{amq.topic/stocks.*};{amq.match//x-match='any',sym='RHT'}' xdestination.myDailyTrades = queue='tradeQueue2';sub.link='multiLink' Complete list of options
|
Powered by
Atlassian Confluence
(Version: 2.2.9 Build:#527 Sep 07, 2006)
-
Bug/feature request
Unsubscribe or edit your notifications preferences
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:commits-subscr...@qpid.apache.org
Unsubscribe or edit your notifications preferences