You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rocketmq.apache.org by GitBox <gi...@apache.org> on 2019/04/17 05:38:58 UTC

[GitHub] [rocketmq-spring] walking98 commented on issue #55: Can the starter provide support for deserializing generic parameters?

walking98 commented on issue #55: Can the starter provide support for deserializing generic parameters?
URL: https://github.com/apache/rocketmq-spring/issues/55#issuecomment-483944153
 
 
   It should work if change parameter type as TestEvent 
   public void onMessage(TestEvent s) { ...}
   
   Referencing to sample code: rocketmq-spring-boot-samples/rocketmq-consume-demo/src/main/java/org/apache/rocketmq/samples/springboot/consumer/OrderPaidEventConsumer.java

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services