Activemq connection factory silently ignores the erroneous arguments in broker
url
----------------------------------------------------------------------------------
Key: AMQ-1071
URL: https://issues.apache.org/activemq/browse/AMQ-1071
Project: ActiveMQ
Issue Type: Bug
Components: Broker
Environment: Linux
Reporter: Dileepan K
Priority: Minor
When an erroneous argument is passed to the broker url with failover, activemq
connection factory ignores the error. However if failover is removed, it does
throw exception.
Here is the example
1.
failover:(tcp://localhost:62012)?jms.prefetchPolicy.all=10&wireFormat.maxInactivityDuration=0&jms.optimizeAcknowledge=false
2.
tcp://localhost:62012?jms.prefetchPolicy.all=10&wireFormat.maxInactivityDuration=0&jms.optimizeAcknowledge=false
Only the # 2 throws exception as jms.prefetchPolicy.all is an invalid argument
here
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira