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

XMLWordPrintable

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Minor
    • 2.5.34
    • Affects Version/s: 2.4.1
    • Component/s: WS
    • None

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

            Assignee:
            Chad Redman (unc.edu) (Inactive)
            Reporter:
            Chad Redman (unc.edu) (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: