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

                 Key: SMX4NMR-262
                 URL: https://issues.apache.org/jira/browse/SMX4NMR-262
             Project: ServiceMix NMR
          Issue Type: Bug
            Reporter: Jonathan Anstey
            Priority: Minor
         Attachments: SMX4NMR-262.patch

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.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to