Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-6620 JON/Open Console Issues
  3. JBAS-6686

Unexpected parameters for JMS Topic managed operations

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Done
    • Icon: Major Major
    • JBossAS-5.1.0.CR1
    • 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.

              emuckenhuber_jira Emanuel Muckenhuber (Inactive)
              ccrouch_jira Charles Crouch (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: