pnoltes opened a new pull request #345: URL: https://github.com/apache/celix/pull/345
This PR updates the serializer handling of pubsub zmq v2, pubsub tcp v2 and pubsub websocket v2. The v2 variant use pubsub_message_serialization_service per message type instead a single serializer services which creates a bundle bound seriailizer map. This makes it possible to override / provide message serialization per message making it easier to generate serialization and remove the need to always use service factories when using serializers. This PR adds a pubsub_message_serialization marker service which can be used to indicate a certain serialization type (e.g. json) is available and is used in the selection which serialization to use (service ranking order). The updated pubsub admins now use the pubsub_serializer_handler_t to (de)serialize message instead of directly working on pubsub_message_serialization_service. Latstly fixes a issue bswap_16 (for OSX). -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
