Method: MessageBus::Implementation#transport_codec
- Defined in:
- lib/message_bus.rb
#transport_codec ⇒ MessageBus::Codec::Base
Returns codec used to encode and decode Message payloads.
283 284 285 |
# File 'lib/message_bus.rb', line 283 def transport_codec @config[:transport_codec] ||= MessageBus::Codec::Json.new end |