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

Azure Storage Queue : increase Producer test coverage #3719

Merged
merged 1 commit into from Apr 12, 2022

Conversation

zbendhiba
Copy link
Contributor

Fixes #3577

@Produces(MediaType.TEXT_PLAIN)
public String retrieveMessage() throws Exception {
@Produces(MediaType.APPLICATION_JSON)
public List<ExampleMessage> retrieveMessage() throws Exception {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We tend to avoid serializing object to JSON. In this case, as far as I get, it's ok as ExampleMessage is just a serialization oriented facade of QueueMessageItem.

@ppalaga ppalaga merged commit 048f1c2 into apache:main Apr 12, 2022
@zbendhiba zbendhiba deleted the 3577-azure-storage-queue branch April 13, 2022 08:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Azure storage queue : increase Producer test coverage
3 participants