Uploaded image for project: 'Grouper'
  1. Grouper
  2. GRP-2928

WS message send/receive move exchangeType and queueType to dedicated arguments

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Minor
    • 2.5.34
    • 2.4.1
    • WS
    • None

    Description

      Per comments in GrouperServiceLogic "TODO move to dedicated argument in 2.5"

      This affects parameters exchangeType (in both send and receive) and queueType (in receive). The exchangeType doesn't often need setting, but the queueType is an essential parameter, and currently needs `"params": [ {"paramName": "queueType", "paramValue": "queue"} ]` in order for messages to be received. Note that if the queue type is not set, the WS quietly does nothing, because the queueType is null.

       

      Current:

      {
        "WsRestReceiveMessageRequest":{
          "messageSystemName":"XXXrabbitmqSystem",
          "queueOrTopicName":"wsMessagingResponse",
          "queueType":"IGNORED",
          "routingKey":"",
          "autocreateObjects": false,
          "params": [ 
              {"paramName": "queueType", "paramValue": "queue"} ,
              {"paramName": "exchangeType", "paramValue": "something"} 
          ]
        }
      }
      

      Proposed
       

      {
        "WsRestReceiveMessageRequest":{
          "messageSystemName":"XXXrabbitmqSystem",
          "queueOrTopicName":"wsMessagingResponse",
          "queueType":"IGNORED",
          "routingKey":"",
          "autocreateObjects": false,
          "exchangeType": "something",
          "queueType": "queue"
        }
      }
      

      Attachments

        Activity

          People

            chad.redman@at.internet2.edu Chad Redman (unc.edu)
            chad.redman@at.internet2.edu Chad Redman (unc.edu)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: