You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Timothy Bish (JIRA)" <ji...@apache.org> on 2011/08/25 21:48:31 UTC
[jira] [Closed] (AMQ-3371) Not possible to use brokerUri option
when using ./activemq console command line
[ https://issues.apache.org/jira/browse/AMQ-3371?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Timothy Bish closed AMQ-3371.
-----------------------------
Resolution: Not A Problem
The correct syntax would be:
{noformat}
./activemq console "broker:\(tcp://localhost:61616,network:static:tcp://remotehost:61616\)?persistent=false&useJmx=true"
{noformat}
Quote the string and escape the parends.
> Not possible to use brokerUri option when using ./activemq console command line
> -------------------------------------------------------------------------------
>
> Key: AMQ-3371
> URL: https://issues.apache.org/jira/browse/AMQ-3371
> Project: ActiveMQ
> Issue Type: Bug
> Reporter: Charles Moulliard
>
> The following syntax does not work with AMQ 5.5 ?
> {code}
> ./activemq console broker:(tcp://localhost:61616,network:static:tcp://remotehost:61616)?persistent=false&useJmx=true
> -bash: syntax error near unexpected token `('
> {code}
> I have used successfully this one :
> {code}
> ./activemq console broker:'\(tcp://localhost61616\)'/brokerName'?useJmx=true
> {code}
> Can someone check and confirm that this is the right syntax ?
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira