Clients - artemis : Producer

Represents ActiveMQ Artemis Producer.

send

(MessageContent | Message data)

returns error?

Sends a message to the producer's address.

Parameters

  • Return Type

    (error?)
  • error on failure

close

()

returns error?

Closes the ClientProducer. If already closed nothing is done.

  • Return Type

    (error?)
  • error on failure to close.

isClosed

()

returns boolean

Returns whether the producer is closed or not

  • Return Type

    (boolean)
  • true if the producer is closed and false otherwise