AMQConnection does support IP addresses
---------------------------------------
Key: QPID-282
URL: https://issues.apache.org/jira/browse/QPID-282
Project: Qpid
Issue Type: Bug
Components: Java Client
Affects Versions: M1
Environment: Any
Reporter: Robert Greig
Assigned To: Martin Ritchie
Trying to construct AMQConnection with e.g. "127.0.0.1:5672" causes the stack
trace below. "localhost:5672" does work. You can easily try this using the
ServiceProvidingClient performance test.
Attempting to
127.0.0.1:5672
^
Illegal character in scheme name between indicies 0 and 1
127.0.0.1:5672
^
at org.apache.qpid.url.URLHelper.parseError(URLHelper.java:146)
at org.apache.qpid.url.URLHelper.parseError(URLHelper.java:141)
at
org.apache.qpid.client.AMQBrokerDetails.<init>(AMQBrokerDetails.java:173)
at
org.apache.qpid.client.AMQConnectionURL.processOptions(AMQConnectionURL.java:204)
at
org.apache.qpid.client.AMQConnectionURL.<init>(AMQConnectionURL.java:138)
at org.apache.qpid.client.AMQConnection.<init>(AMQConnection.java:148)
at
org.apache.qpid.requestreply.ServiceRequestingClient.createConnection(ServiceRequestingClient.java:274)
at
org.apache.qpid.requestreply.ServiceRequestingClient.<init>(ServiceRequestingClient.java:192)
at
org.apache.qpid.requestreply.ServiceRequestingClient.main(ServiceRequestingClient.java:296)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:90)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira