PacketReceiver

PacketReceiver is a JMS message producer that listens to a UDP Socket and receives packets from it. It adds packet into messages and puts the messages to the output XQueue. PacketReceiver supports flow control and allows object control from its owner. It is fault tolerant with retry and idle options.

If the socket is bound to a Multicast IP, it will establish a Multicast group. PacketReceiver supports two operations, listen and reply.

Apart from the common properties, there are many implementation specific properties for PacketReceiver.
Property Name Data Type Requirement Description Examples
SOTimeout integer optional timeout in econds for socket operation 1000
Interface string optional interface of network eth1
TextMode integer optional flag for message family 1

Here is an example of PacketReceiver:

{
  "Name": "rcvr_udp",
  "ClassName": "org.qbroker.receiver.PacketReceiver",
  "URI": "udp://localhost:12345",
  "LinkName": "root",
  "Operation": "reply",
  "Capacity": "64",
  "Partition": "0,32",
  "Mode": "daemon",
  "TextMode": "1",
  "DisplayMask": "7",
  "Debug": "0",
  "Template": "##body##\n",
  "Parser": {
    "ClassName": "org.qbroker.event.EventParser"
  }
}