Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-6116

Populate all optional parameters from DeliverSm (if it is DeliveryReceipt)

    XMLWordPrintableJSON

Details

    • Patch Available
    • Unknown

    Description

      Hello all,

      I am currently working on a project requiring the use of camel-smpp. I stumbled upon some problems integrating with the customer's SMSC, and I modified the code of camel-smpp in order to fit my needs (just adding some functionality though, not removing any).

      More specifically, for submitting a new message, the delivery receipt held the corresponding submit_sm id in the optional parameters (as receipted_message_id). With the current trunk code, I did not get the optional parameters of the delivery receipt, so I could not match the delivery receipt to the outgoing sms. As a solution I just looped all the optional parameters and put them into a map as a header (and instead of checking each optional parameter name, I just put whatever jsmpp was sending back, so if someone wants to put other optional parameters to jsmpp too, they would simply automatically be populated back in camel-smpp.)

      Please find the patch attached

      Attachments

        1. enableOptParamsOnReceipts.java.patch
          4 kB
          Ioannis Alexandrakis
        2. enableOptParamsOnReceiptsv2.java.patch
          4 kB
          Ioannis Alexandrakis

        Activity

          People

            muellerc Christian Müller
            i.alexandrakis Ioannis Alexandrakis
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: