Support Questions

Find answers, ask questions, and share your expertise

PutUDP with dynamic IP and Port

New Contributor

Hi everybody,

I need to design a flow who dynamicly send UDP message to severals devices on my netwrok.

Manpage of PutUDP indicate that it accept expression language to affect IP and Port, but impossible to do that.

Please can you confirm that it's possible ? perfect think would to be able to use attribute usd.sender and udp.port from a listenUDP node.

Many thanks for your help.




It only supports expression language from system properties and environment variables, but not from incoming flow files. This is because when the processor is started it will initialize a pool of UDP clients, so the port and host must be known before hand. It would probably be possible to make the UDP case more dynamic, but part of this issue is that PutUDP and PutTCP share a significant amount of underlying code.

Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.