We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Having the following code;
@PubSubClient(project = "${gcp.project-id}") public interface ProductPubSubClient { @Topic("${pubsub.topic-name}") String send( DataDto dataDto, @MessageHeader(name = "eventId") UUID eventId, @MessageHeader(name = "eventType") String eventType, @MessageHeader(name = "entityId") String entityId, @MessageHeader(name = "entityType") String entityType, @MessageHeader(name = "timestamp") long timestamp, @MessageHeader(name = "datetime") OffsetDateTime datetime, @MessageHeader(name = "version") String version, @MessageHeader(name = "country") String country, @MessageHeader(name = "commerce") String commerce, @MessageHeader(name = "channel") String channel, @MessageHeader(name = "capability") String capability, @MessageHeader(name = "mimeType") String mimeType ); } String response = this.productPubSubClient.send( productDto.getData(), productDto.getEventId(), productDto.getEventType(), productDto.getEntityId(), productDto.getEntityType(), productDto.getTimestamp(), productDto.getDatetime(), productDto.getVersion(), productDto.getCountry(), productDto.getCommerce(), productDto.getChannel(), productDto.getCapability(), productDto.getMimeType() );
it is possible to use a Map of or POJO as Headers? To avoid write multiples times @MessageHeader
@MessageHeader
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Feature description
Having the following code;
it is possible to use a Map of or POJO as Headers?
To avoid write multiples times
@MessageHeader
The text was updated successfully, but these errors were encountered: