You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2022/04/12 15:47:48 UTC

[GitHub] [camel-quarkus] aldettinger commented on a diff in pull request #3719: Azure Storage Queue : increase Producer test coverage

aldettinger commented on code in PR #3719:
URL: https://github.com/apache/camel-quarkus/pull/3719#discussion_r848594352


##########
integration-test-groups/azure/azure-storage-queue/src/main/java/org/apache/camel/quarkus/component/azure/storage/queue/it/AzureStorageQueueResource.java:
##########
@@ -83,14 +91,28 @@ public Response createQueue() throws Exception {
 
     @Path("/queue/read")
     @GET
-    @Produces(MediaType.TEXT_PLAIN)
-    public String retrieveMessage() throws Exception {
+    @Produces(MediaType.APPLICATION_JSON)
+    public List<ExampleMessage> retrieveMessage() throws Exception {

Review Comment:
   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.



-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org