-
Sub-task
-
Resolution: Done
-
Major
-
None
-
None
-
None
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.