> Am I mistaken about this, or have missed a place where I can set
IP_MULTICAST_TTL for the broadcast socket?

You are not mistaken. Setting this option is not currently supported in the
native UDP implementation.

> If not, what's the way to request a enhancement for Artemis that would
include this feature?

You can find details about how to request an enhancement here [1]. In
short, you need to request a Jira account [2] and then open a feature
request Jira here [3].

In the mean-time I believe you should be able to use the JGroups
integration [4] for your use-case. I think the "ip_ttl" parameter on the
UDP transport [5] is what you're after.


Justin

[1] https://activemq.apache.org/issues#using-the-issue-tracker
[2] https://selfserve.apache.org/jira-account.html
[3] https://issues.apache.org/jira/projects/ARTEMIS
[4]
https://activemq.apache.org/components/artemis/documentation/latest/clusters.html#broadcast-groups
[5] http://jgroups.org/manual/html/protlist.html#UDP

On Fri, May 9, 2025 at 4:54 PM Glenn Burkhardt <gbburkha...@gmail.com>
wrote:

> I don't see a way to set StandardSocketOptions.IP_MULTICAST_TTL for the
> socket used to broadcast the discovery query.  That's needed if
> discovery is to be used across networks outside the local subnet.  By
> default, the TTL value is 1 for the DatagramSocket created in
> org.apache.activemq.artemis.api.core.UDPBroadcastEndpointFactory for
> 'broadcastingSocket'.
>
> Am I mistaken about this, or have missed a place where I can set
> IP_MULTICAST_TTL for the broadcast socket?
>
> If not, what's the way to request a enhancement for Artemis that would
> include this feature?
>
> Thanks.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@activemq.apache.org
> For additional commands, e-mail: users-h...@activemq.apache.org
> For further information, visit: https://activemq.apache.org/contact
>
>
>

Reply via email to