gri3li/symfony-messenger-serializer-plain
最新稳定版本:v1.0.0-rc
Composer 安装命令:
composer require gri3li/symfony-messenger-serializer-plain
包简介
A plain Symfony Messenger serializer without stamps handling
README 文档
README
This package provides a simplified implementation of the SerializerInterface for Symfony Messenger. It serializes and deserializes messages without stamps support, making it a lightweight solution for interacting with microservices that do not support the Symfony Messenger message format.
Installation
Install the package via Composer:
composer require gri3li/symfony-messenger-serializer-plain
Usage
Since all messages will be serialized and deserialized as instances of StdClass, you will most likely need to provide custom implementations of the interfaces:
SendersLocatorInterface: Defines which sender will be used for dispatching a message.HandlersLocatorInterface: Defines which handler will process the message.
By creating your own implementations of these interfaces, you can retain full control over how messages are routed and handled, even without class-based differentiation.
统计信息
- 总下载量: 10
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 2
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-09-28