Skip to content

RabbitMQ- Allow Deserialization to complex objects #3220

@PhilKes

Description

@PhilKes

Similiar to #465, it would be great if for the RabbitMQ connector we could automatically deserialize a JSON Payload to a given complex object type.

Something like:

   @Incoming("prices")
    public CompletionStage<Void> consume(Message<Price> price) {
             //...
    }
   
   class Price {
          double amount;
    }

Currently we can only declare the payload of incoming RabbitMQ Message as: byte[], String, JsonObject, JsonArray

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions