Hi, We are overriding ListenUDP to support response on the Datagram channel to support response event. OnTrigger method calls "postProcess(context, session, allEvents)" method which we can override. However, DatagramChannelDispatcher is setting StandardEvent with ChannelResponder as null. Also we are not able to find any example on how to create ChannelResponder to send udp responses.
Kindly help us with code references which we can use to create Datagram ChannelResponder to send UDP response . Thanks and Regards, Atul Saroha On Wed, Jun 5, 2024 at 10:59 AM Atul Saroha <atul...@gmail.com> wrote: > Hi, > > We are using Nifi to listen the UDP packets. However, we also have to send > UDP packets as a response back to the calling sender IP and port using the > same receiver port used in NiFi ListenUDP processor > We are looking to write a custom processor to send UDP packets back. To do > this, we need the handle of the Datagram socket which is used in ListenUDP. > > Please help us with some code snapshots to use the same datagram socket > object in our custom processor. > > Thanks and Regards, > Atul Saroha >