How to receive message from queue based on JMSPriority

Hi all,
I want to receive message from Receive Message From Queue based on JMSPrirority.
I am able to send message to queue using Send Message To Queue component with specifying Priority value as Five(Liternal value).
Now, when I am trying to receive message from Queue by specifying JMSPriority='Five'; in Message selector, it is not working.
But, when I use JMSPriority is not null in Message selector, I am able to receive message.
How to receive message from queue by specifying exact value of JMSPriority.
Please suggest.

Hi WASIL,
I tried with captial FIVE and it is not working.
I tried also like operator and the standard example doesn't recieve messages based on priority.
I am experiecing below error:
Caused by: javax.jms.InvalidSelectorException: The selector is invalid: JMSPriority LIKE '%FIVE%';
    at com.adobe.livecycle.jms.QueueMessageReceiver.receiveMessageFromQueueWithPropertiesNoWait( QueueMessageReceiver.java:206)
    at com.adobe.livecycle.jms.JMSService.receiveMessageFromQueue(JMSService.java:413)
    at sun.reflect.GeneratedMethodAccessor1017.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:616)
    at com.adobe.idp.dsc.component.impl.DefaultPOJOInvokerImpl.invoke(DefaultPOJOInvokerImpl.jav a:118)
    ... 135 more
Caused by: javax.jms.InvalidSelectorException: The selector is invalid: JMSPriority LIKE '%FIVE%';
    at org.jboss.jms.server.selector.Selector.<init>(Selector.java:107)
    at org.jboss.jms.server.endpoint.ServerSessionEndpoint.createConsumerDelegateInternal(Server SessionEndpoint.java:2103)
    at org.jboss.jms.server.endpoint.ServerSessionEndpoint.createConsumerDelegate(ServerSessionE ndpoint.java:277)
    at org.jboss.jms.server.endpoint.advised.SessionAdvised.org$jboss$jms$server$endpoint$advise d$SessionAdvised$createConsumerDelegate$aop(SessionAdvised.java:94)
    at org.jboss.jms.server.endpoint.advised.SessionAdvised$createConsumerDelegate_8721389917985 689973.invokeTarget(SessionAdvised$createConsumerDelegate_8721389917985689973.java)
    at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:111)
    at org.jboss.jms.server.container.SecurityAspect.handleCreateConsumerDelegate(SecurityAspect .java:124)
    at sun.reflect.GeneratedMethodAccessor389.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:616)
    at org.jboss.aop.advice.PerInstanceAdvice.invoke(PerInstanceAdvice.java:122)
    at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
    at org.jboss.jms.server.container.ServerLogInterceptor.invoke(ServerLogInterceptor.java:105)
    at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
    at org.jboss.jms.server.endpoint.advised.SessionAdvised.createConsumerDelegate(SessionAdvise d.java)
    at org.jboss.jms.wireformat.SessionCreateConsumerDelegateRequest.serverInvoke(SessionCreateC onsumerDelegateRequest.java:100)
    at org.jboss.jms.server.remoting.JMSServerInvocationHandler.invoke(JMSServerInvocationHandle r.java:165)
    at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:967)
    at org.jboss.remoting.transport.socket.ServerThread.completeInvocation(ServerThread.java:791 )
    at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:744)
    at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:586)
    at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:234)
    at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:216)
    at org.jboss.remoting.Client.invoke(Client.java:2034)
    at org.jboss.remoting.Client.invoke(Client.java:877)
    at org.jboss.remoting.Client.invoke(Client.java:865)
    at org.jboss.jms.client.delegate.DelegateSupport.doInvoke(DelegateSupport.java:189)
    at org.jboss.jms.client.delegate.DelegateSupport.doInvoke(DelegateSupport.java:160)
    at org.jboss.jms.client.delegate.ClientSessionDelegate.org$jboss$jms$client$delegate$ClientS essionDelegate$createConsumerDelegate$aop(ClientSessionDelegate.java:267)
    at org.jboss.jms.client.delegate.ClientSessionDelegate$createConsumerDelegate_87213899179856 89973.invokeTarget(ClientSessionDelegate$createConsumerDelegate_8721389917985689973.java)
    at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:111)
    at org.jboss.jms.client.container.StateCreationAspect.handleCreateConsumerDelegate(StateCrea tionAspect.java:136)
    at org.jboss.aop.advice.org.jboss.jms.client.container.StateCreationAspect_z_handleCreateCon sumerDelegate_930384804.invoke(StateCreationAspect_z_handleCreateConsumerDelegate_93038480 4.java)
    at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
    at org.jboss.jms.client.container.ConsumerAspect.handleCreateConsumerDelegate(ConsumerAspect .java:76)
    at org.jboss.aop.advice.org.jboss.jms.client.container.ConsumerAspect_z_handleCreateConsumer Delegate_930384804.invoke(ConsumerAspect_z_handleCreateConsumerDelegate_930384804.java)
    at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
    at org.jboss.jms.client.container.FailoverValveInterceptor.invoke(FailoverValveInterceptor.j ava:92)
    at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:86)
    at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
    at org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:172)
    at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:86)
    at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
    at org.jboss.jms.client.delegate.ClientSessionDelegate.createConsumerDelegate(ClientSessionD elegate.java)
    at org.jboss.jms.client.JBossSession.createConsumer(JBossSession.java:237)
    at org.jboss.jms.client.JBossSession.createConsumer(JBossSession.java:220)
    at org.jboss.jms.client.JBossSession.createReceiver(JBossSession.java:396)
    at com.adobe.livecycle.jms.QueueMessageReceiver.receiveMessageFromQueueWithPropertiesNoWait( QueueMessageReceiver.java:198)
    ... 140 more
Please suggest

Similar Messages

  • How to receive message from flex client

    From the sample 'testdrive-datapush', I know how to receive message from backend(java) to flex client.
    Now, I want to know how to receive message from flex client to backend.
    I tried to find it in http://livedocs.adobe.com/blazeds/1/javadoc/.
    but I failed.
    Do you guys know the solution?

    Alex mentioned a solution in another thread.
    http://livedocs.adobe.com/blazeds/1/blazeds_devguide/help.html?content=messaging_config_3. html#256378
    [quote]
    Using a JMSConsumer object instead of the JMS adapter
    You use a JMSConsumer to listen for JMS messages without relying on the JMS adapter. Customer code is responsible from receiving JMS messages, converting them to Flex messages and using BlazeDS APIs to pass the message to Flex clients.
    In the following code example, a bootstrap service is used to create a JMSConsumer object when the server starts. When a JMS message is received, it is printed (rather than converting it to a Flex message and handing it to BlazeDS). For different workflows, a RemoteObject could be used to create JMSConsumer objects.
    [/quote]
    Do you know where is the code example?

  • Having problems receiving messages from queue

    Hi,
    I have one machine simply sending messages to a message queue on another machine. I know that the messages are arriving at the destination queue because I can use a modified version of the SimpleSyncConsumer program from the j2ee tutorial to receive the message with no troubles.
    On the destination machine, I also have deployed a web servlet that is trying to do the exact same thing as the SimpleSyncConsumer, connecting to the same connection factory and same destination resource, yet it cannot receive (non-block) the message. It's almost as if it has connected to the wrong queue. There doesn't seem to be any indication of errors prior to the attempt to receive. The connection factory, connection session, consumer, all look fine.
    Does anyone know why I'm getting this problem?
    Thank you very much

    Thanks to strachaj and pazhanikanthan for your replies.
    I'd also like to emphasize the small (not servlet) application I made that is just like the SimpleSyncConsumer program which uses the same code I used inthe servlet, to connect to the servlet's queue and that it is able to receive the message.
    Is there some configuration that needs to be done on the servlet war file using the deploytool to enable it to properly receive the message? I noticed the other examples in the tutorial made use of MDB's which required some extensive configuration (that dealt with queues) from the deploytool. I did not use any MDB's as I didn't think it was necessary judging from how the SimpleSyncConsumer connected to the queue. Am I mistaken?
    Thanks again!

  • Receiving messages from Service Bus Topics in node js without polling

    Hi, I have node js client who subscribed to a Topic, currently I'm using a timer to invoke receiveSubscriptionMessage every few seconds to get messages from the Topic.
    Is there a way to do this without polling?
    Thanks.

    You can implement message pump by OnMessage which will do the poll for you. Please read "How to receive messages from a queue" part from
    http://azure.microsoft.com/en-us/documentation/articles/service-bus-dotnet-how-to-use-queues/

  • How do I get received messages from others to show up on my different Apple devices, such as my iPhone

    How do I get received messages from others to show up on my different Apple devices, such as my iPhone or iPad or iPod Touch, etc. I can see their reply on the device I was using at that moment but not on the other devices even iMessaging is turned on. Is there a way to refresh to incoming messages when one picks up one of their other Apple devices?

    Hi there lkbluntzer,
    You may find the information in the article below helpful.
    Send and receive messages
    http://help.apple.com/iphone/7/#/iph01ac18d71
    See what time a message was sent or received. Drag any bubble to the left.
    -Griff W. 

  • Configuring MDB to receive message from MQSeries Queues bound on WL JNDI

    Hi,
    I am using weblogic7.0 sp2. I need to configure my MDB to receive message from MQ Series (on a different server). The queue is bound to WL JNDI using a server startup program.
    Anyone with experiece, please help.
    Thanks,
    Fasih

    I'd start here:
    http://e-docs.bea.com/wls/docs70/faq/index.html
    -- Rob
    WLS Blog http://dev2dev.bea.com/blog/rwoollen/

  • HT4623 After I updated it asked me what numbers I want receive  messages from. Clicked on wrong number now I get messages sent from my husbands phone how do I turn that off?

    After upgrading my phone it asked what numbers I want to receive messages from. Clicked wrong number now I get husbands messages. How do turn that off?

    settings - message - imessage - off, then turn it back on and see if it lets you put your number in.

  • TS4002 Hello, icloud receive messages from gilly hicks, but does not receive messages from another personal account... this is happening me since one week and i dont know how to solve this.... error in the mail delivery system says not valid IPv4 SMTP err

    Hello, icloud receive messages from gilly hicks, but does not receive messages from another personal account... this is happening me since one week and i dont know how to solve this.... error in the mail delivery system says not valid IPv4
    SMTP error from remote mail server after RCPT TO:<[email protected]>:
       host mx6.me.com.akadns.net [17.158.8.114]: 550 5.7.0 Blocked - see https://support.proofpoint.com/dnsbl-lookup.cgi?ip=184.173.9.56:
       [email protected]
    i do alse receive from gmail....
    please help... what is happening!!!!

    Just to recap, this is a collection of ports I have collected over time for people who needed this information when setting up the HP ePrint app so that they could view their email from within the app.  I am certain other applications also need this information.  Although lengthy, I could not find a more comprehensive place to retrieve this information.  Feel free to post additional information, faulty information, or other related topics below as this is simply a collection of data and it would be practically impossible to test all of them. Thank you!
    Don't forgot to say thanks by giving "Kudos" if I helped solve your problem.
    When a solution is found please mark the post that solves your issue.
    Every problem has a solution!

  • My imessage wont activate and work, and i dont receive messages from people useing imessage? how do i get imessage to work?

    My imessage wont activate and work, and i dont receive messages from people useing imessage? how do i get imessage to work?

    I recently moved back to Australia for school from Canada and signed up for the new iphone 6 plus. After using icloud to save and backup from my previous iphone 4s, all of the apps eventually worked....except for whatsapp. After looking through my phone and numerous chat forums, it appears that my imessage and facetime are stuck in, "waiting for activation".....is anyone else having problems with this?
    I am curious as I am unable to receive the whatsapp code to re-activate my application. This brings me to my second question, is this an iphone/apple problem or a whatsapp third party problem?
    I've had friends send imessages to me and they appear to coming through. I have already rebooted and restarted my phone numerous time. A strong connection to wifi and data stream have all come in loud and clear.
    I have tried all of the directions that were posted and still have no whatsapp and imessage still inconsistent.
    Thank you

  • How do I see who my child is receiving messages from in imessage?

    How do I see who my child is receiving messages from in imessage? I used to be able to monitor it from in Verizon messages.

    Use his/her Apple ID for iMessage on your phone...you'll actually receive the messages in real time.

  • How do I make it so I can receive messages from my samsung phone to my ipad?

    How do I make it so I can receive messages from my samsung phone to my iMessages on my ipad?

    To send messages to non-Apple devices, check out the TextFree app https://itunes.apple.com/us/app/text-free-textfree-sms-real/id399355755?mt=8
    How to Send SMS from iPad
    http://www.iskysoft.com/apple-ipad/send-sms-from-ipad.html
     Cheers, Tom

  • My daughter does not have an iPhone. I just got the IPhone4. When she receives messages from me they must be downloaded for her to read them. How do Imsend plain SMS messages to a non iPhone recipient?

    My daughter does not have an iPhone. I just got the IPhone4S. When she receives messages from me they must be downloaded for her to read them. How do I send her plain SMS messages to a non iPhone recipient?

    Well, it could have to do with her phone, however does she have any difficulty in receiving SMS from others? You may want to check how you have iMessage set up. Go to Settings>Messages>Receive at>Make sure your telephone number is listed there, then go to Caller ID, and make sure your phone number is the one with the checkmark by it. You may be sending messages with your email address as the header and if that is so, it may be requiring her to download it as data. See if that helps.

  • After updating to the ios7, I'm not receiving messages from phones other than iPhones or I'll get them really late. How can I fix this?!

    I receive messages from iPhones normally. But when I try to text people who have regular Android phones, I either get their messages really late or I don't get them at all. It makes talking to my friends extremely hard and I need help trying to fix it. At first, I thought it was the service of the college I just moved to until I realized my messaging worked fine here until I updated my phone to the iOS7. Somebody help me please! I have an iPhone 4S!

    Deactivate then reactivate iMessage on your phone.

  • HT4993 I have switched from Iphone to galaxy and I can't receive messages from  anyone using an Iphone.  I have contacted sprint and they thought they resolved the issue, but I still can't receive messages from iphone user. How can this be resolved

    I am having trouble receiving messages from friends that are using Iphone.  I recently switched from Iphone to Galaxy Note 3

    http://support.apple.com/kb/ts5185
    You'll need to contact Apple Support if you no longer have the iphone.

  • How to receive message asynchronously without dequeueing it

    Hello, guys.
    I use code like this to create asynchonous receiver in weblogic 9.2:
    session=qcon.createQueueSession(false, Session.AUTO_ACKNOWLEDGE);
    MessageConsumer mc = session.createConsumer(dest);
    mc.setMessageListener(new MyMessageListener());
    class MyMessageListener{
        public void onMessage(Message m){
            //some code here
    } And AUTO_ACKNOWLEDGE means that server removes message from queue when onMessage() returns.
    I want to leave messages in queue. I do not want to delete them.
    How is it possible?
    thanks,
    Vyacheslav Gonakhchyan
    Edited by: prng on Jan 19, 2009 12:15 PM

    I don't use WebLogic, but I guess you are in need of QueueBrowser. This performs what you need if I get your requirement right ;)
    You can browse through the queue for specific messages without deleting them,

Maybe you are looking for