[
https://issues.apache.org/jira/browse/DISPATCH-415?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15366246#comment-15366246
]
Rob Godfrey commented on DISPATCH-415:
--------------------------------------
Just for the sake of clarity, as pointed out above, the Qpid Java Broker allows
any number of ports you wish to configure (which may include binding to
different interfaces, using different authentication mechanisms, supporting
different versions of AMQP, or any other reason you like).
Within the configuration for the Java Broker, *any* value (not just port
numbers) can be specified in terms of a "context variable" in the form
$\{varname\} ... Such variables go through a resolution process that includes
looking at Java System properties, system environment variables, and finally
(if not otherwise resolved) any defaults within the code. While the example
given by Adel above uses $\{qpid.amqp_port\} (which has a default within the
code) it could just as well have used $\{MYPORTNUMBER\} where the number is
expected to be set as an environment variable (and would cause an error if not
set somewhere, as this is not defaulted in the code anywhere).
> Dynamic port allocation from the command line
> ---------------------------------------------
>
> Key: DISPATCH-415
> URL: https://issues.apache.org/jira/browse/DISPATCH-415
> Project: Qpid Dispatch
> Issue Type: New Feature
> Reporter: Adel Boutros
>
> As described in this
> [mail|http://qpid.2158936.n2.nabble.com/Qpid-Dispatch-Dynamic-port-allocation-from-the-command-line-td7646495.html],
> it would be nice if there was a way to alllocate dynamically ports from the
> command line as is the case with Qpid Java Broker
> Qpid Java Broker properties reference:
> https://qpid.apache.org/releases/qpid-java-6.0.3/java-broker/book/Java-Broker-Initial-Configuration-Configuration-Properties.html
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]