Skip to content

Azure client message receiver not thread safe ? #690

Description

@boly38

Hi all
When using azure java SDK ServiceBus client (version 0.9.3), sometime I receive no message when the queue (or topic) is not empty.
(I'm not 100% sure that this issue is the same as issue #644 so that's why I created this new issue).

I try to reproduce this behavior multiple times without success but I finally find a way to reproduce it by applying a parallel procedure.

I have created a dedicated project to reproduce the issue. feel free to clone, build, start and comment the following project : https://github.com/boly38/azurejavasdk-queue-test

This project main class demonstrates that sending and receiving messages on a azure bus queue works well in sequence but not in parallel.

#### test_client_sequence
(...)
ERROR COUNT=0
#### test_client_parallel
(...)
ERROR COUNT=5

Could you tell me if I'm wrong somewhere or else when do you plan to fix it ?
Maybe there is a more recent version than 0.9.3 but I am not able to find it on search.maven.org ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions