So I'm looking at the concept of network ports in the management
API. Normally this seems pretty clear, but there are some "network
connectors" that don't actually have a port, such as the in-VM transport
for ActiveMQ.
It makes me wonder if our standard port properties should be
Integers instead of ints (they're ints and the moment). But if I look at,
say, java.net.URI, they use an int and say that they'll return -1 if no
port is defined. That's not as obvious to me, but it works. Any
thoughts?
Thanks,
Aaron