ricardlf wrote:
Gordon Sim wrote:
Please, could you post an example code
showing how to do that?
You can cause exchanges to be declared simply by altering your binding
url and creating a consumer or publisher. E.g. look at the direct
example for jms[1] and modify the direct.properties to change from using
amq.direct to some other exchange[2]. Now if you run the direct producer
or consumer the exchange will be created.
--Gordon
These examples are not appropiate for what I'm trying to achive, because I
don't know what programs will connect to the broker in the future, so it
will be necessary to modify the properties file dinamically.
You can directly create Destination objects which might suite your use
case better. However for that I would need to refer you to someone with
greater expertise. Rajith, could you describe how this coule be achieved?
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:users-subscr...@qpid.apache.org