Skip to content

Instantly share code, notes, and snippets.

@dsuch
Last active December 19, 2015 07:39
Show Gist options
  • Save dsuch/5920149 to your computer and use it in GitHub Desktop.
Save dsuch/5920149 to your computer and use it in GitHub Desktop.
from zato.server.service import Service
class MyService(Service):
def handle(self):
# JMS WebSphere MQ
self.outgoing.jms_wmq.conn.send(self.request.payload, 'JMS MQ app', 'QUEUE.1')
# AMQP
self.outgoing.amqp.conn.send(self.request.payload, 'AMQP app', 'EXCH.1', '/')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment