Technically speaking either will work, but from a performance perspective the pooled-connection-factory will be quite a bit better.
Thank you for your advice.
Let me abuse your help a little bit more :-)
The external broker to which I should produce a message is actually a cluster using udp to broadcast its connectors.
From the way I understand it, a pooled-connection-factory in Wildfly requires using a "remote-destination-outbound-socket-binding" with host and port.
Do you know if it is possible to use the UDP broadcast address to define the remote connector in Wildfly or do I need to know all the addresses/ports of the servers forming the cluster and list each of them in the connectors part of the pooled-connection-factory ?
You can configure the pooled-connection-factory to reference a discovery-group. The discovery-group you configure should use the same multicast address and port used by the broadcast-group on the cluster you wish to connect to.