MBean operations which requires a filter should treat an empty string as a null filter
--------------------------------------------------------------------------------------
Key: JBMESSAGING-1673
URL:
https://jira.jboss.org/jira/browse/JBMESSAGING-1673
Project: JBoss Messaging
Issue Type: Bug
Components: Configuration and Management
Affects Versions: 2.0.0.beta3
Reporter: Jeff Mesnil
Assignee: Jeff Mesnil
Fix For: 2.0.0
e.g. listMessages requires a filter parameter.
Currently if an empty string is passed, it'll raise an exception when a filter is
created from this string.
Instead the MBean should check if the parameter is null or an empty string and treat it as
a null filter.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira