[jboss-jira] [JBoss JIRA] (JBMESSAGING-1915) TopicPublisher accepts invalid delivery modes.

Doug Grove (JIRA) jira-events at lists.jboss.org
Tue Feb 21 15:39:36 EST 2012


     [ https://issues.jboss.org/browse/JBMESSAGING-1915?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Doug Grove updated JBMESSAGING-1915:
------------------------------------

    Summary: TopicPublisher accepts invalid delivery modes.  (was: TopicPublisher aceepts invalid delivery modes.)

    
> TopicPublisher accepts 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