Skip to content

rabbitMQ return queue is empty when i trying to get message by using outgoing AMQP from zato #2

Description

@hend10

I have a service that is invoked by ESB (zato) the role of this service is to publish a message in rabbitMQ through an AMQP outgoing but when i consult rabbitMQ and make get message the answer is queue is empty.this is service in zato

from zato.server.service import Service

class HelloService(Service):
def handle(self):

    # Request parameters
    msg = 'Hello AMQP broker!'
    out_name = 'My CRM connection'
    exchange = 'My exchange'
    routing_key = ''
    properties = {'app_id': 'ESB'}
    headers = {'X-Foo': 'bar'}

    # Send a message to the broker
    self.outgoing.amqp.send(msg, out_name, exchange, routing_key,
        properties, headers)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions