Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.
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
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}}}")
tx = ssn.sender("myxml; {create: always, node: {type: topic, x-declare: {exchange: myxml, type: xml}}}")
Copy to Clipboard Copied! Toggle word wrap Toggle overflow