IPWorks MQ 2020 Python Edition

Questions / Feedback?

on_message_out Event

Fired after a message has been sent.

Syntax

class STOMPMessageOutEventParams(object):
  @property
  def destination() -> str: ...
  @property
  def data() -> bytes: ...
  @property
  def content_type() -> str: ...

# In class STOMP:
@property
def on_message_out() -> Callable[[STOMPMessageOutEventParams], None]: ...
@on_message_out.setter
def on_message_out(event_hook: Callable[[STOMPMessageOutEventParams], None]) -> None: ...

Remarks

This event fires after a message has been sent using either send_message or send_data. The following parameters are available within this event:

  • Destination: The destination the message was sent to.
  • Data: The message's payload.
  • ContentType: The content type of the message (always empty for messages sent with send_data).

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks MQ 2020 Python Edition - Version 20.0 [Build 8155]