[jboss-as7-dev] make <socket-binding>'s port optional

Jeff Mesnil jmesnil at redhat.com
Tue Mar 20 07:02:45 EDT 2012


On 03/20/2012 11:57 AM, Kabir Khan wrote:
>> 1) What's the convention for naming this property?
>> jboss.hornetq.cluster.address or jboss.messaging.group.address something
>> else?
> I think jboss.messaging.group.address looks more the convention used already for the socket bindings

ok
>> 2) At first, I wanted to run separate clusters using port offset.
>> However there is nothing similar for the multicast-port. Does that make
>> sense to add it or is it really specific to this HornetQ conf?
>
> I think something specific makes it look too "complex" for your average user, so perhaps simply
>> <socket-binding name="messaging-group"
>> multicast-address="${jboss.messaging.group.address:231.7.7.7}"
>> multicast-port="${jboss.messaging.group.port:9876}"/>

Yeah, good suggestion, I'll do it.

thanks,
jeff

-- 
Jeff Mesnil
JBoss, a division of Red Hat
http://jmesnil.net/


More information about the jboss-as7-dev mailing list