4.11.3. Create an XML Exchange
The following example
qpid-config
command creates an XML exchange called myxml
:
qpid-config add exchange xml myxml
The following example code demonstrates how to achieve the same in an application:
- Python
tx = ssn.sender("myxml; {create: always, node: {type: topic, x-declare: {exchange: myxml, type: xml}}}")