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

Unable to support payload with byte[] type in methods with payload such as 'syncSend(String destination, Object payload)' #104

Closed
lemonzone2010 opened this issue Jul 13, 2019 · 1 comment
Labels
enhancement New feature or request
Milestone

Comments

@lemonzone2010
Copy link

Unable to support payload with byte[] type in methods with payload such as 'syncSend(String destination, Object payload)'

BUG REPORT

  1. Please describe the issue you observed:
  • What did you do (The steps to reproduce)?

Try the following code. But message content is changed to "YWJj" (a base64 encoded string)

        byte[] valueAsByte = "abc".getBytes();
        rocketMQTemplate.syncSend("xxx", valueAsByte);
  • What did you expect to see?

the origin bytes:"abc".getBytes()

  • What did you see instead?

a base64 encoded string:"YWJj"

  1. Please tell us about your environment:

  2. Other information (e.g. detailed explanation, logs, related issues, suggestions how to fix, etc):

FEATURE REQUEST

  1. Please describe the feature you are requesting.

  2. Provide any additional detail on your proposed use case for this feature.

  3. Indicate the importance of this issue to you (blocker, must-have, should-have, nice-to-have). Are you currently using any workarounds to address this issue?

lemonzone2010 pushed a commit to lemonzone2010/rocketmq-spring that referenced this issue Jul 13, 2019
…ayload such as 'syncSend(String destination, Object payload)'
@ShannonDing ShannonDing added this to the 2.0.4 milestone Aug 21, 2019
@ShannonDing ShannonDing added the enhancement New feature or request label Aug 21, 2019
@ShannonDing
Copy link
Member

link #147
it will be fixed by #152

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

No branches or pull requests

2 participants