Uploaded image for project: 'ServiceMix NMR'
  1. ServiceMix NMR
  2. SMX4NMR-262

Endpoint.CHANNEL_SYNC_DELIVERY property doesn't work when passed as string

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 1.5.0
    • None
    • Patch Available

    Description

      If you set this property as a String

      Map<String, Object> properties = ServiceHelper.createMap(Endpoint.NAME, "endpoint-id");
      properties.put(Endpoint.CHANNEL_SYNC_DELIVERY, "true");
      registry.register(endpoint, properties);

      The following method always returns false

      endpoint.channel.isShouldRunSynchronously());

      Attaching a simple patch to fix this up.

      Attachments

        1. SMX4NMR-262.patch
          2 kB
          Jonathan Anstey

        Activity

          People

            gertvanthienen Gert Vanthienen
            janstey Jonathan Anstey
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: