Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatic [de]serialization #185

Open
michaelklishin opened this issue Jan 23, 2014 · 9 comments
Open

Automatic [de]serialization #185

michaelklishin opened this issue Jan 23, 2014 · 9 comments
Labels

Comments

@michaelklishin
Copy link
Member

It may be nice to steal a page from Hutch/etc's book and provide a way to serialize
and deserialize published messages and delivered bodies automatically. We can go
as far as having our own middleware (à la Rack or Faraday or Ring).

@owenthereal
Copy link
Contributor

👍 This will definitely help my implementation as well: https://github.com/jingweno/message_queue/tree/master/lib/message_queue/serializers

@bobbytables
Copy link
Contributor

👍

@camelpunch
Copy link
Contributor

Link to book?

@michaelklishin
Copy link
Member Author

@stefansedich
Copy link
Contributor

I notice this has been sitting for a while, has there been any more discussion on this one behind the scenes? it is something I was wanting today so what better what to get what I want than to implement it.

@michaelklishin
Copy link
Member Author

It needs to be opt-in, that's about as far as my opinion about this go. 

On 7 October 2016 at 10:31:48, Stefan Sedich (notifications@github.com) wrote:

I notice this has been sitting for a while, has there been any more discussion on this one
behind the scenes? it is something I was wanting today so what better what to get what I
want than to implement it.

You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
#185 (comment)

MK

Staff Software Engineer, Pivotal/RabbitMQ

@stefansedich
Copy link
Contributor

Agreed, will have a think about it and see what I can come up with!

@tadman
Copy link

tadman commented Mar 21, 2017

This would be nice especially if it was keyed to the Content-Type information provided as part of the message.

@mlh758
Copy link

mlh758 commented Aug 15, 2019

Just came across this, I'd like to chime in on the "needs to be opt in" side. I have a couple subscribers that expect a string of bytes to do some initial processing, then deserialize the important bits.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

7 participants