Question about Message Selector

Dear all,
I have implemented a JAVA progrram which will sent 10 JMS messages into AQ sequentially, and then use another JAVA client which will get JMS message from the AQ.
I found out that if i use Message Selector to get message from AQ, the message will NOT be read from the queue by enqueue_time, how can i get the jms message from AQ by message selector that can preserve the enqueue_time order?

Have you got a lot of MTA?
Because you can create one rule by MTA...
Example:
In message filter:
verylongbloke sayed how do that...
and in content filter:
rule1: if (header("X-IP") == "^1.1.1.1$") { alt-mailhost ("[1.1.1.1]"); }
rule1: if (header("X-IP") == "^1.1.1.2$") { alt-mailhost ("[1.1.1.2]"); }
It's not very sexy but it works fine...
unfortunately, we can't use variable for alt-mailhost action... or I don't know how :)
regards..

Similar Messages

  • Hello am using ios 7.0.4 I have a question about messages that it does not show the time of a particular message after first message that I recive form a paricular person so please in the next version change this and with every message show time and date

    hello am using ios 7.0.4 I have a question about messages that it does not show the time of a particular message after first message that I recive form a paricular person so please in the next version change this and with every message show time and date

    Hi,
    How is everything going? Have you checked this issue from OWA? If so, please let me know the result.
    In adition, please also try to use the following powershell commands to check if the assistant has right permissions:
    Get-MailboxFolderPermission -Identity
    CEO’s email address:\Calendar -User assistant’s email address
    Also check with:
    Get-Mailbox -Identity CEO’s mailbox
    | fl *GrantSendOnBehalfTo
    Please let me know the result.
    Best Regards,
    Steve Fan
    Forum Support
    Come back and mark the replies as answers if they help and unmark them if they provide no help.
    If you have any feedback on our support, please click
    here

  • Question about Messages application and AIM.

    Hello, I purchased my first apple device last year (iphone) at which point I created an iCloud account and received an @me email address. This is also my Apple ID. Later in the year Apple also gave me an @icloud email like everyone else. I am enjoying my iphone very much and this year I decide to purchase my first os x device (macbook) soon. This is what leaves me to my following questions:
    1. I wish to use the Messages application just for iMessage and not AIM or any other IM service. It is my understanding that about 2 years ago .mac and mobileme users were having AOL create Lifestream profiles for them without pemission. Now I have never been a .mac or mobileme user and only signed up icloud last year as previously stated. I just want to know if AOL is still creating these profiles and if they affect icloud users? I could not find any information about this issue being resolved. Would using the Messages applicaton just for imessage have the risk of having my icloud email have a Lifestream profile created for it?
    2. I am aware that when setting up my macbook for the first time it will ask to sign in to with your apple id and then into icloud. I plan to do this. I am told that this will make me signed into imessage automatically in the Messages application. What I want to know is if this will make me sign into AIM automaticlly too? I have no intention of ever using AIM so I hope this is not the case.
    I hope I have made myself clear as English is not my fist language. Any help with these questions is greatly appreciated. Thank you.

    Hi,
    The last bit first.
    iChat was the application used before Mountain Lion and Messages.
    It could only join the AIM, Jabber and in iChat 6 the Yahoo services.
    These are Instant Messaging services so the text sent between you and a Buddy tend to be referred to as IMs.
    The AIM site I linked to above has an Option (when you can log in there)  that allows your to turn this AIM feature Off.
    Some Jabber servers can do it but it tends to be an option the person running the Jabber decides to do or not.
    If a Server is set up to allow Off Line Messaging then those have to be stored.
    These can  a concern for the person running the server; either with storage space in the first place and for issues around governments want to "see" the data.
    A part of the iChat and Messages apps perform a "Listening" function when you turn your computer On but do not launch the App.
    This Listening will start up the App if anyone send you an iMessage  and AIM or Jabber message.
    However this function of Messages can be turned Off.
    This pic was created for something else but you can see the second line down is about setting the Status to Offline when the App is Quit.
    This effectively stops the App doing the Listening.
    Back to the Lifestream issue.
    I am not sure what triggers the Lifestream to be set up.
    I used a Search on the Lifestream site for my main AIM Name (which I can set the Lifestream to Privacy > No-one) and for my @me.com one which I cannot log in to the AIM settings site.
    I cannot see anything returned in either case.
    I also tried when Logged in under my main AIM name and got this form my @me.com ID
    I think that when AOL/AIM started Lifestream all those people that had AIM and AIM valid Screen Names were included in Lifestream.
    It may now be different and you may have to sign up for it.
    There seems to be a set up page.
    It would seem that my @me.com ID and @icloud.com ID have not been set up for Lifestream where as my AIM account (Main AIM Name as I call it) was set up in the beginning.
    I am afraid I don't have any clearer information than that on this part of your enquiry.
    8:03 pm      Friday; October 25, 2013
      iMac 2.5Ghz 5i 2011 (Mountain Lion 10.8.4)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad

  • Questions about message logging and topic TTL

    We're in the final stages of testing our application. Basically a producer application is sending small, non-persistent messages once every 10 seconds and once every second to an auto-created topic. The consumer application(s) listening are then doing data display of this 1 second and 10 second data.
    Testing the client we noticed it complained of a single 10 second message not being received. We verified that the message was sent by the producer. My question is whether there is a logging setting on the IMQ server that could be used to log the receipt and delivery of every message, perhaps by JMSMessageID to a particular topic? The only idea we could think of is to use 'imqcmd metrics' to track the number of messages in/out, but this isn't as useful for us.
    Any ideas you could provide would be greatly appreciated.

    imqbrokerd does not support tracing at this level, so metrics is probably the best approach for now.
    If a subscriber is not getting a message it is usually because of one of the following:
    1. The message is expiring. If you are using message expiration make sure the clocks are synchronized between the clients and the server. imqbrokerd will log a message when it has expired messages.
    2. The subscriber was down when the message was produced (and it is not a durable subscriber).
    3. You have set a size limit on the destination or system wide that is resulting in messages being shedded as specified by the limit behavior.
    With non-persistent messages you can get an additional level of reliability by setting the following ConnectionFactory property to true:
    ConnectionConfiguration.imqAckOnProducethis adds a handshake between the server and client when a message is sent and provides a mechanism for imqbrokerd to propogate additional message production errors back to the client.
    The following document at sunsolve.sun.com provides more details:
    ID70117 Sun Java[TM] System Message Queue: Tuning 3.0.1 and 3.5 For Robustness
    Joe
    http://wwws.sun.com/software/products/message_queue/

  • Question about message interface

    I developed a jdbc to file scenario, it works, but I'm confused.
    I designed a message interface for jdbc outbound,
    CustomerRow
    |--row
         |--CUST_NO
         |--......
    I set Document Name = 'resultset' in jdbc sender adapter.
    I can see payload in SXMB_MONI.
    <?xml version="1.0" encoding="utf-8" ?>
    - <resultset>
    - <row>
      <CUST_NO>pp3433</CUST_NO>
      <SALES_ORG>org1</SALES_ORG>
      <DISTRIBUTION_CHANNEL>dis1</DISTRIBUTION_CHANNEL>
      <DIVISION>div1</DIVISION>
      <FLAG>N</FLAG>
      <LAST_UPDATE>2008/11/05 15:24:53:843</LAST_UPDATE>
      </row>
    - <row>
      <CUST_NO>ppy3233</CUST_NO>
      <SALES_ORG>org2</SALES_ORG>
      <DISTRIBUTION_CHANNEL>dis2</DISTRIBUTION_CHANNEL>
      <DIVISION>div2</DIVISION>
      <FLAG>N</FLAG>
      <LAST_UPDATE>2008/11/05 15:24:53:843</LAST_UPDATE>
      </row>
      </resultset>
    You noticed that resultset is not 'CustomerRow' in message interface which I defined.
    I don't know how it can work.

    The parameter Document Name should ideallly contain ur Message Type root name. As u have changed it to 'resultset', it is replaced at the sender adapter and then flow continues.
    There are very few occasions when success raises a question
    Regards,
    Prateek

  • Newbie question about message digests

    I understand that a digest is a one-way process, that a message digest is a "fingerprint" of the original message but that there is no way to recover the original (I think Ronald Rivest's document says it is "conjectured to be computationally infeasible" to do so). So far so good.
    But I also read this about digest algorithms: "it is virtually impossible to create a message with a predetermined digest." ( http://tinyurl.com/39thq )
    What does this mean, given that a particular message will always hash to the same digest?
    Thanks for any guidance.
    -javahombre

    Great, now I see! Thanks!
    This sounds especially true now that I see the explanation. For example, I notice that even different case for the "same" string matters: "test" vs. "Test" comes out to different hash.
    As for picking completely different strings that hash to the same digest, that seems almost inconceivable.
    Thanks again,
    javahombre

  • Question about message driven bean

    hello
    i can find tons of tutoriala about developing session bean and entity bean by using jdeveloper,but can't find even one article that tell me how to develop message driven bean and jms by using jdeveloper,who can help me,where can i find such tutorial?
    thank you!

    I setup breakpoints setting thru the MDB examples in j2eesdk 1.4.
    I realize that the message to the being are being process sequentially.
    Is there a way to process message in MDB concurrently?
    Thank you.

  • Question about message "The drive you inserted was not readable..."

    This might not be a Snow Leopard question, but that's the most recent thing I've changed, so here goes (and my apologies for the length of this):  I started with an Intel Mac Mini running OSX 10.5 (with all of the updates) which has a USB-connected HP printer/scanner.  This has run well for quite some time.  Subsequently, I purchased two Seagate USB external drives (an Expansion Hard Drive and a GoFlex drive).  The drives themselves seem to work fine, everything shows up reliably and I've had no obvious problems.  However, soon after the drives were connected, I started getting the message "The disk you inserted was not readable by your computer."  I determined, by restarting with various components disconnected, that the message appears when I connect the USB cable of my printer to the computer.  This did not happen before I purchased the Seagate drives.  Thinking that I just had old software, I updated the HP printer drivers and updated to Snow Leopard; however, I still have the same issue.  I have to respond to the message by clicking "Ignore".  Looking at the console log, I can see that, when I connect the printer USB cable, it shows "com.apple.kextd:  /System/Library/Extensions/Seagate Storage Driver.kext does not declare a kernel dependency; using com.apple.kernel.6.0."

    This might not be a Snow Leopard question, but that's the most recent thing I've changed, so here goes (and my apologies for the length of this):  I started with an Intel Mac Mini running OSX 10.5 (with all of the updates) which has a USB-connected HP printer/scanner.  This has run well for quite some time.  Subsequently, I purchased two Seagate USB external drives (an Expansion Hard Drive and a GoFlex drive).  The drives themselves seem to work fine, everything shows up reliably and I've had no obvious problems.  However, soon after the drives were connected, I started getting the message "The disk you inserted was not readable by your computer."  I determined, by restarting with various components disconnected, that the message appears when I connect the USB cable of my printer to the computer.  This did not happen before I purchased the Seagate drives.  Thinking that I just had old software, I updated the HP printer drivers and updated to Snow Leopard; however, I still have the same issue.  I have to respond to the message by clicking "Ignore".  Looking at the console log, I can see that, when I connect the printer USB cable, it shows "com.apple.kextd:  /System/Library/Extensions/Seagate Storage Driver.kext does not declare a kernel dependency; using com.apple.kernel.6.0."

  • Hi Experts, a question about messages in selection screen? thank you!

    Hi Experts,
    I have a selection screen and two parameters on it, I need to check if the entries exist if the fields is filled in, if it doesn't exist I need to issue a warning message, but if the two parameters are both filled in and the related entries both don't exist, how can I handle this situation? what I mean is that I want to display the two warnings at the same time(like below), now I only can display one warning, can anyone help me on this? thank you much!
    You are not authorised for this purchasing organisation
    Plant: invalid entry
    Purchasing organisation: invalid entry
    No valid record selected
    Kind regards
    Dawson

    Hi Dawson
    As far as i get from your disciption of the problem, i get that: -
    (a) You want to check that both the fields are filled or not
    (b) If they are filled, then you want to check if in database there exists any record pertaining to them.
    Correct me if i am wrong.
    If this is correct, then you will have to make use of nested if condtions to diaplay the warnings.
    Like as follows: -
    If pa1 IS INITIAL and pa2 IS INITIAL.
      <your warning message>.
    ELSEIF pa1 IS INITIAL and pa2 IS NOT INITIAL.
      <your warning message>.
    ELSEIF pa1 IS NOT INITIAL and pa2 IS INITIAL.
      <your warning message>.  
    ELSEIF pa1 IS NOT INITIAL and pa2 IS NOT INITIAL.
      <try matching it with the database records>.
      <your warning message>.
    ENDIF.
    As far as i know, the 2 warning messages cannot be issued as they appear in the status bar of the current screen. SO you will have to put them in if condition only and display the approriate warning .
    Hope this solves your problem.
    Regards
    Gaurav.

  • A Question About Message Driven Bean Exception Handling

    "Your onMessage method should handle all exceptions. It must not throw checked exceptions, and throwing a RuntimeException is considered a programming error."
    The above sentence is from the JMS documentation.
    I will use a message driven bean for guarenteeing to send an email with some critical info in case of an unexpected system failure. Say I was not able to save into db some critical info, therefore I want to send that info to myself with a mail to be able to handle that situation manually. Now in case of failure I will send a message to a queue which contains the critical info, and a message driven bean will listen for the message and send email to me. But what if the message driven bean fails ? If I am to handle any exceptions on my onMessage method, how will the messaging system be able to redeliver that message ? It seems to me the message will not remain in the queue anymore(I have consumed it) ?
    Any help appreciated, thanks in advance.

    Fatih.Karakoc wrote:
    "Your onMessage method should handle all exceptions. It must not throw checked exceptions, and throwing a RuntimeException is considered a programming error."
    The above sentence is from the JMS documentation.
    I will use a message driven bean for guarenteeing to send an email with some critical info in case of an unexpected system failure. Say I was not able to save into db some critical info, therefore I want to send that info to myself with a mail to be able to handle that situation manually. Now in case of failure I will send a message to a queue which contains the critical info, and a message driven bean will listen for the message and send email to me. But what if the message driven bean fails ? If I am to handle any exceptions on my onMessage method, how will the messaging system be able to redeliver that message ? It seems to me the message will not remain in the queue anymore(I have consumed it) ?
    You can configure your queue to guarantee delivery. If you use JTA you can also make it transational, so the message is put back on the queue in the event of failure. Your configuration should also include max retries and a failure queue to make sure you don't get stuck in an infinite loop where a message can never be processed.
    Which app server are you using? WebLogic makes it pretty easy to set these config parameters.
    %

  • Question about messaging 6.3 migration

    Hi!
    We have a distibuted messaging architecture ( 2 MTA IN, 2 MTA OUT, 2 MMP, 3 message store, 2 ldaps), we have messaging 5.2 and Directory 5.2 too, we would like to change to messaging 6.3 and ldap 6, what could be the best way to do the migration?
    I have new machines to install the new software, i was thinking first to install directory server in the new machine and then migrate all users to the new installation, then install 1 message store, and 1 multiplexor.. Is it possible to have 1 message store, and 1 mux,mtas with messaging 6.3 and work at the same time with the old servers (messaging 5.2), such that the migration could be done incrementaly in order to reduce the time of the service out.
    thanks

    Hi,
    medkev123 wrote:
    I have a very similar Messenger setup as mess_user. Are you planning on an in-place migration or migrating to new servers?
    If you are going down the in-place migration path then I suggest you refer to the upgrade guide:
    http://docs.sun.com/app/docs/doc/819-7561
    ( 2 MTA IN, 2 MTA OUT, 3 MMP, 2 message store, 4 ldaps), we have messaging 6.1 and Directory 5.2.
    However, we are using the messenger express web interface. What will be the preferred upgrade path for these systems then ?This was discussed here:
    http://forum.java.sun.com/thread.jspa?threadID=5229681
    My original plan was to migrate:
    1) LDAP servers to 6.2. I was also planning to migrate suffix o=netscaperoot to keep consistency. However i was thinking of just migrating my read only ds servers to 6.2 (dropping o=netscaperoot) and keeping the masters as 5.2 until all of mmps and mstores has been migrated.
    What do you think of that?Sounds like a plan. Please note however that for PAB (o=pab) access you should point messaging server to a master directory (local.service.pab.ldaphost).
    2) migrate MTAs (thats all they are MTAS no LMTP) to 6.3.
    3) Migrate MMPs (due to the new express workflow)
    4) Migrate the mstores.The mail-stores must be migrated prior to migrating the MEM's as I discussed in http://forum.java.sun.com/thread.jspa?threadID=5229681.
    So the order would be the reverse of what you have above.
    Regards,
    Shane.
    p.s. I would recommend waiting out for patch 120228-26 before attempting this migration as it has the fix for bug #6618926 - "Messenger express returns error 'Message no longer exists'"
    Edited by: shane_hjorth on Oct 29, 2007 3:40 PM

  • Question about message:  "Newer version of QuickTime required"

    I installed iTunes 7, just now. When trying to launch the software, either manually or by plugging in my iPod, I get the following message: "QuickTime version 7.0d0 is installed, iTunes requires QuickTime version 7.1.3 or later. Please reinstall iTunes."
    I have reinstalled iTunes three times, but continue getting the same message.
    Please advise.
    Dell XPS M1210   Windows XP Pro  

    Sometimes installing QUicktime before you install iTunes works.
    First remove iTunes and associated programs using this method:
    XP
    http://support.apple.com/kb/HT1925
    Vista
    http://support.apple.com/kb/HT1923
    Restart your PC.
    If any uninstalls don't work, post back.
    Download the version of Quicktime that does not include iTunes and save it on your PC.
    http://www.apple.com/quicktime/download/win.html
    Download iTunes and save it on your PC if you have not already done so:
    http://www.apple.com/itunes/download/
    Install Quicktime and check that it works.
    If it does, install iTunes.

  • Question about message notifier icon

    On my Pearl I had an envelope appear when i had a voice message and on the 8900 i have a strange symbol.  How do i get the envelope back?  Is it even possible?  Thanks

    Hi and welcome to the forums!
    From the main message queue do a search:
    service=ALL SERVICES
    folder: ALL FOLDERS
    show: ONLY UNREAD
    type=ALL
    Thanks,
    Bifocals
    See the voice mail indicator between the 10 msgs and the 2 missed calls? 
    Was that the (strange symbol?
    Click Accept as Solution for posts that have solved your issue(s)!
    Be sure to click Like! for those who have helped you.
    Install BlackBerry Protect it's a free application designed to help find your lost BlackBerry smartphone, and keep the information on it secure.

  • Question about Message Authentication Code (MAC)

    Can a MAC detect if someone altered or replace a message? Also, can someone delete a message?

    A MAC can detect tampering, assuming it's a strong MAC (like SHA1), and assuming you use it correctly.
    Frankly, it's the second part that is most likely to stymy you. It's easy to get strong algorithms; using them well is much, much more difficult.
    A MAC is absolutely useless for detecting if a message has been deleted. In fact, detecting missing messages is an intractible problem. You can increase the odds of noticing a missing message, but you can never guarantee it.

  • Question about message filter

    I want to archive all email by using message filter.
    The filter is the following:
    archiveallmail:
    if( rcpt-to == "@mydomain\\.com")
    archive("backup");
    So all mails will be archived to the directory "backup". I would like to seperate different users. For example:
    if ( rcpt-to == "@mydomain\\.com")
    archive(rcpt-to);
    but it will occurr error because rcpt-to is not a string. How can I archive email to separate directories according to recipient address.

    This cannot be done to my knowledge. You would need to enter the $ sign for the variable. But the filter is only looking for a string.
    The $ will also not work as the name of the directory is named after the string name.
    I wouldn't archive all messages in the IronPort. You can use the bcc option to send it to a different mail host
    Regards,
    Mark

Maybe you are looking for