Message selector with receiveNoWait()2019 Community Moderator ElectionJMS Topic vs QueuesHow to change Message Selector@selector() in Swift?Take first message to arrive on one of 2 queuesDoes JMS receiveNoWait() guarantee message delivery when messages are available?IBM MQ : JMS message consumer fails receive when message has correlation idIBM MQ failure to send/receive all JMS MessagesJMS API cannot browse messages, IBM API canJMS and IBM WebSphere not generating CODDoes a JMS message selector pull multiple messages down with a single consumer.receive() call or the first message it sees?
Did Amazon pay $0 in taxes last year?
Ignoring Someone as Wrongful Speech
How do you make a gun that shoots melee weapons and/or swords?
Where do you go through passport control when transiting through another Schengen airport on your way out of the Schengen area?
Can a Mimic (container form) actually hold loot?
How spaceships determine each other's mass in space?
Dukha vs legitimate need
Professor forcing me to attend a conference
Why do phishing e-mails use faked e-mail addresses instead of the real one?
Is this nominative case or accusative case?
Should we avoid writing fiction about historical events without extensive research?
Ultrafilters as a double dual
A bug in Excel? Conditional formatting for marking duplicates also highlights unique value
Is there a math expression equivalent to the conditional ternary operator?
Python 3.6+ function to ask for a multiple-choice answer
Is every open circuit a capacitor?
Naming Characters after Friends/Family
“I had a flat in the centre of town, but I didn’t like living there, so …”
Custom javascript not working
Is divide-by-zero a security vulnerability?
Why are special aircraft used for the carriers in the United States Navy?
The need of reserving one's ability in job interviews
How does a sound wave propagate?
Can a space-faring robot still function over a billion years?
Message selector with receiveNoWait()
2019 Community Moderator ElectionJMS Topic vs QueuesHow to change Message Selector@selector() in Swift?Take first message to arrive on one of 2 queuesDoes JMS receiveNoWait() guarantee message delivery when messages are available?IBM MQ : JMS message consumer fails receive when message has correlation idIBM MQ failure to send/receive all JMS MessagesJMS API cannot browse messages, IBM API canJMS and IBM WebSphere not generating CODDoes a JMS message selector pull multiple messages down with a single consumer.receive() call or the first message it sees?
Will message selectors work with receiveNowait() method too for synchronous process. it works with receive() method but wanted to know for receiveNoWait for IBM mq.
Message selector is added while creating consumer.
java jms selector ibm-mq
add a comment |
Will message selectors work with receiveNowait() method too for synchronous process. it works with receive() method but wanted to know for receiveNoWait for IBM mq.
Message selector is added while creating consumer.
java jms selector ibm-mq
1
...have you tried it? Is there anything in the knowledge center that would indicate it will not work?
– JoshMc
yesterday
JoshMc there is nothing in knowledge center but haven't found even a single example on it so had a doubt. I am going to try it now. Will see whether it works or not.
– Harsha
yesterday
As @JustinBertram noted, I see no reason it would not work.
– JoshMc
yesterday
add a comment |
Will message selectors work with receiveNowait() method too for synchronous process. it works with receive() method but wanted to know for receiveNoWait for IBM mq.
Message selector is added while creating consumer.
java jms selector ibm-mq
Will message selectors work with receiveNowait() method too for synchronous process. it works with receive() method but wanted to know for receiveNoWait for IBM mq.
Message selector is added while creating consumer.
java jms selector ibm-mq
java jms selector ibm-mq
asked yesterday
HarshaHarsha
167
167
1
...have you tried it? Is there anything in the knowledge center that would indicate it will not work?
– JoshMc
yesterday
JoshMc there is nothing in knowledge center but haven't found even a single example on it so had a doubt. I am going to try it now. Will see whether it works or not.
– Harsha
yesterday
As @JustinBertram noted, I see no reason it would not work.
– JoshMc
yesterday
add a comment |
1
...have you tried it? Is there anything in the knowledge center that would indicate it will not work?
– JoshMc
yesterday
JoshMc there is nothing in knowledge center but haven't found even a single example on it so had a doubt. I am going to try it now. Will see whether it works or not.
– Harsha
yesterday
As @JustinBertram noted, I see no reason it would not work.
– JoshMc
yesterday
1
1
...have you tried it? Is there anything in the knowledge center that would indicate it will not work?
– JoshMc
yesterday
...have you tried it? Is there anything in the knowledge center that would indicate it will not work?
– JoshMc
yesterday
JoshMc there is nothing in knowledge center but haven't found even a single example on it so had a doubt. I am going to try it now. Will see whether it works or not.
– Harsha
yesterday
JoshMc there is nothing in knowledge center but haven't found even a single example on it so had a doubt. I am going to try it now. Will see whether it works or not.
– Harsha
yesterday
As @JustinBertram noted, I see no reason it would not work.
– JoshMc
yesterday
As @JustinBertram noted, I see no reason it would not work.
– JoshMc
yesterday
add a comment |
2 Answers
2
active
oldest
votes
I can't speak to the IBM MQ implementation specifically, but from a JMS perspective there's nothing in the JMS specification that limits the use of selectors with receiveNoWait
so I would expect it to work in any compliant implementation.
add a comment |
receive(), receive(long timeout) and receiveNoWait() should work exactly the same in terms of what is delivered. In fact several implementations implement one by calling another method.
add a comment |
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55023274%2fmessage-selector-with-receivenowait%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
I can't speak to the IBM MQ implementation specifically, but from a JMS perspective there's nothing in the JMS specification that limits the use of selectors with receiveNoWait
so I would expect it to work in any compliant implementation.
add a comment |
I can't speak to the IBM MQ implementation specifically, but from a JMS perspective there's nothing in the JMS specification that limits the use of selectors with receiveNoWait
so I would expect it to work in any compliant implementation.
add a comment |
I can't speak to the IBM MQ implementation specifically, but from a JMS perspective there's nothing in the JMS specification that limits the use of selectors with receiveNoWait
so I would expect it to work in any compliant implementation.
I can't speak to the IBM MQ implementation specifically, but from a JMS perspective there's nothing in the JMS specification that limits the use of selectors with receiveNoWait
so I would expect it to work in any compliant implementation.
answered yesterday
Justin BertramJustin Bertram
3,8391518
3,8391518
add a comment |
add a comment |
receive(), receive(long timeout) and receiveNoWait() should work exactly the same in terms of what is delivered. In fact several implementations implement one by calling another method.
add a comment |
receive(), receive(long timeout) and receiveNoWait() should work exactly the same in terms of what is delivered. In fact several implementations implement one by calling another method.
add a comment |
receive(), receive(long timeout) and receiveNoWait() should work exactly the same in terms of what is delivered. In fact several implementations implement one by calling another method.
receive(), receive(long timeout) and receiveNoWait() should work exactly the same in terms of what is delivered. In fact several implementations implement one by calling another method.
answered 23 hours ago
Axel PodehlAxel Podehl
1,6511515
1,6511515
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55023274%2fmessage-selector-with-receivenowait%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
...have you tried it? Is there anything in the knowledge center that would indicate it will not work?
– JoshMc
yesterday
JoshMc there is nothing in knowledge center but haven't found even a single example on it so had a doubt. I am going to try it now. Will see whether it works or not.
– Harsha
yesterday
As @JustinBertram noted, I see no reason it would not work.
– JoshMc
yesterday