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

subscription id isn't valid #13

Open
Mohamed3amer opened this issue Feb 20, 2014 · 2 comments
Open

subscription id isn't valid #13

Mohamed3amer opened this issue Feb 20, 2014 · 2 comments

Comments

@Mohamed3amer
Copy link

In this method i found that the subscription header value isn't match with the message received from the ActiveMQ

  • (void)receivedFrame:(STOMPFrame *)frame
@jmesnil
Copy link
Contributor

jmesnil commented Feb 20, 2014

sorry, I did not understand your issue.
Can you give more details about the frame you receive and why it is not working?

@Mohamed3amer
Copy link
Author

The scenario is Request/Response on 2 temp-queues (using multi-threading) :
First i subscribe to temp-queue then send request-response message

lets say:
sub-1 -> correlation-id = "s1"
sub-2 -> correlation-id = "s2"

In

  • (STOMPSubscription *)subscribeTo:(NSString *)destination
    headers:(NSDictionary *)headers
    messageHandler:(STOMPMessageHandler)handler

for example identifier = 'sub-1'

then sendTo:@"/queue/request-response-queue"

when i receive frame in

  • (void)receivedFrame:(STOMPFrame *)frame
    i found that subscription is sub-2 and correlation-id = "s1"

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

No branches or pull requests

2 participants