[jboss-jira] [JBoss JIRA] Updated: (JBAS-6686) Unexpected parameters for JMS Topic managed operations

Charles Crouch (JIRA) jira-events at lists.jboss.org
Thu Mar 26 12:51:22 EDT 2009


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

Charles Crouch updated JBAS-6686:
---------------------------------

    Description: 
In JBAS4 with JBossMessaging deployed the console has the listAllMessages, listNonDurableMessages and listDurableMessages operations defined for a JMS Topic which all take:
               <parameters>
                  <c:simple-property name="subscriptionID" displayName="Subscription ID" required="true"/>
                  <c:simple-property name="selector" displayName="Selector" required="false"/>
               </parameters>


In JBAS5 the managed object for a JMS Topic exposes the operations below which take parameters. Note the different number of parameters for listAllMessages and listDurableMessages, and how none of the arguments are required. I think the arguments to these operations should be the same in JBAS4 and 5.



<operation name="listAllMessages" displayName="List All Messages" description="List all messages for the specified subscription">
<parameters>
<c:simple-property required="false" name="arg#0"/>
</parameters>
<results>
<c:notes>List all messages for the specified subscription</c:notes>
<c:list-property name="result">
<c:map-property required="false" name="element"/>
</c:list-property>
</results>
</operation>

<operation name="listDurableMessages" displayName="List Durable Messages" description="List all durable messages for the specified subscription">
<parameters>
<c:simple-property required="false" name="arg#0"/>
</parameters>
<results>
<c:notes>
List all durable messages for the specified subscription
</c:notes>
<c:list-property name="result">
<c:map-property required="false" name="element"/>
</c:list-property>
</results>
</operation>

<operation name="listNonDurableMessages" displayName="List Non Durable Messages" description="List all non durable messages for the specified subscription with the specified selector">
<parameters>
<c:simple-property required="false" name="arg#0"/>
<c:simple-property required="false" name="arg#1"/>
</parameters>
<results>
<c:notes>
List all non durable messages for the specified subscription with the specified selector
</c:notes>
<c:list-property name="result">
<c:map-property required="false" name="element"/>
</c:list-property>
</results>
</operation>

Note the different number of parameters for listAllMessages and listDurableMessages, and how none of the arguments are required.



> Unexpected parameters for JMS Topic managed operations
> ------------------------------------------------------
>
>                 Key: JBAS-6686
>                 URL: https://jira.jboss.org/jira/browse/JBAS-6686
>             Project: JBoss Application Server
>          Issue Type: Sub-task
>      Security Level: Public(Everyone can see) 
>            Reporter: Charles Crouch
>            Assignee: Emanuel Muckenhuber
>
> In JBAS4 with JBossMessaging deployed the console has the listAllMessages, listNonDurableMessages and listDurableMessages operations defined for a JMS Topic which all take:
>                <parameters>
>                   <c:simple-property name="subscriptionID" displayName="Subscription ID" required="true"/>
>                   <c:simple-property name="selector" displayName="Selector" required="false"/>
>                </parameters>
> In JBAS5 the managed object for a JMS Topic exposes the operations below which take parameters. Note the different number of parameters for listAllMessages and listDurableMessages, and how none of the arguments are required. I think the arguments to these operations should be the same in JBAS4 and 5.
> <operation name="listAllMessages" displayName="List All Messages" description="List all messages for the specified subscription">
> <parameters>
> <c:simple-property required="false" name="arg#0"/>
> </parameters>
> <results>
> <c:notes>List all messages for the specified subscription</c:notes>
> <c:list-property name="result">
> <c:map-property required="false" name="element"/>
> </c:list-property>
> </results>
> </operation>
> <operation name="listDurableMessages" displayName="List Durable Messages" description="List all durable messages for the specified subscription">
> <parameters>
> <c:simple-property required="false" name="arg#0"/>
> </parameters>
> <results>
> <c:notes>
> List all durable messages for the specified subscription
> </c:notes>
> <c:list-property name="result">
> <c:map-property required="false" name="element"/>
> </c:list-property>
> </results>
> </operation>
> <operation name="listNonDurableMessages" displayName="List Non Durable Messages" description="List all non durable messages for the specified subscription with the specified selector">
> <parameters>
> <c:simple-property required="false" name="arg#0"/>
> <c:simple-property required="false" name="arg#1"/>
> </parameters>
> <results>
> <c:notes>
> List all non durable messages for the specified subscription with the specified selector
> </c:notes>
> <c:list-property name="result">
> <c:map-property required="false" name="element"/>
> </c:list-property>
> </results>
> </operation>
> Note the different number of parameters for listAllMessages and listDurableMessages, and how none of the arguments are required.

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

        



More information about the jboss-jira mailing list