Message Queues

Message queues are the place holders of Application Messages. IFS Connect Message Queues are used for different purposes, such as:

Some default queues are created at the initialization process and are used by the IFS Connect Framework for the above purposes while any new queue can be created and configured by using the Message Queue feature in Setup IFS Connect client feature.

Those default message queues are

  1. Default Batch Queue (BATCH1):
    The default queue for application server tasks other then print jobs.
  2. Print Agent Batch Queue (BATCH2):
    By default Print Agent jobs will be placed in this queue.
  3. Default Inbound Queue (IN1):
    By default any inbound asynchronous message will be placed in this queue before processing.
  4. Default Outbound Queue (OUT1):
    By default all outbound asynchronous application messages will be placed here before being processed by the Batch Processor.
  5. Notification Queue (NOTIFICATIONS):
    Notification messages are being kept here. For example any finished Connectivity Event messages will be kept here.
  6. Default Queue (DEFAULT):
    Default queue for synchronous message and messages for which the queue name is not defined, i.e. posted through the SOAP Gateway.
  7. Error Queue (ERROR):
    Whenever an error in resolving queue name occurred while processing an application message it will be posted in the error queue.
  8. Connect Reader Response Queue (READER_RESPONSE)
    By default messages created as response for messages read by Connector Readers are placed here.
  9. Queue for un-routed outbound messages (UNROUTED)
    Routing of outbound messages is performed in two phases, where the first one takes place already in PL/SQL code. The goal of this phase is to find a queue the message can be put into. If the logic cannot find a suitable queue, the message will be temporarily put into this queue.
  10. Trashcan Queue (TRASHCAN):
    All messages that are to be deleted by the database task "Cleanup Application Message Queues" will be kept here. 

Note: Any message that should be deleted permanently should be moved to the Trashcan Queue so that the cleaning database task can identify and remove it.

Understanding an Application Message

An Application Message is a data structure used in IFS Connect framework. Any application message consists of three major parts: