# Uses of Interface
com.sas.services.events.broker.MessageInterface

Packages that use MessageInterface
Package
Description
com.sas.services.events.broker
Broker events that are triggered by various transport protocols.
com.sas.services.events.broker.flowengine
Run process flows and dispatch listener applications.

- ## Uses of MessageInterface in com.sas.services.events.broker

  Methods in com.sas.services.events.broker that return MessageInterface
  Modifier and Type
  Method
  Description
  `MessageInterface`
  MessageFactory.`newMessage()`
  Create a new message with an empty body.
  `MessageInterface`
  MessageFactory.`newMessage(MessageInterface message, int flags)`
  Create a new message based on an existing message.
  `MessageInterface`
  MessageFactory.`newMessage(Object body)`
  Create a new message with the specified body.
  Methods in com.sas.services.events.broker with parameters of type MessageInterface
  Modifier and Type
  Method
  Description
  `void`
  ListenerInterface.`handleEvent(MessageInterface message, ResponseHandlerInterface responseHandler)`
  Deprecated.
  Listeners handle events that are sent from an platform Event Broker service.
  `MessageInterface`
  MessageFactory.`newMessage(MessageInterface message, int flags)`
  Create a new message based on an existing message.

- ## Uses of MessageInterface in com.sas.services.events.broker.flowengine

  Methods in com.sas.services.events.broker.flowengine with parameters of type MessageInterface
  Modifier and Type
  Method
  Description
  `void`
  ProcessNodeHandlerInterface.`propagate(String name, MessageInterface output)`
  Process nodes "plug-ins" propagate their output in a process flow by by specifying the name of the output and the `message` they wish to propagate.