[jboss-jira] [JBoss JIRA] (JBMESSAGING-1915) TopicPublisher aceepts invalid delivery modes.
Doug Grove (JIRA)
jira-events at lists.jboss.org
Mon Feb 20 09:26:36 EST 2012
Doug Grove created JBMESSAGING-1915:
---------------------------------------
Summary: TopicPublisher aceepts invalid delivery modes.
Key: JBMESSAGING-1915
URL: https://issues.jboss.org/browse/JBMESSAGING-1915
Project: JBoss Messaging
Issue Type: Bug
Components: Messaging Core
Environment: JBoss 4.3.0.GA_CP08
Reporter: Doug Grove
Priority: Minor
Valid delivery modes are specified on the abstract interface javax.jmx.DeliveryMode. For JBoss, these have values of NON_PERSISTENT = 1 and PERSISTENT = 2.
If an invalid value, -1 for example, is passed to TopicPublisher.publish(), no exception is thrown and the call can block for a substantial period.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list