Conditionally send messages to several consumer

How much better would accomplish this requirement?

I have a system that produces messages
Several systems may want to consume these messages

I want the producer to send messages under condition

In one case maybe I send message even to each consumer
However, in another case maybe I only want to send a message to consumers and B

It would be OK if I could score some messages to some consumers, and then consumers only recover these messages designated for them. But I don't think this is possible as such any flag, that the consumer would have to read once, it consumes the message and the bed, I don't think that there is a way for the queue to make this decision for them.

So, it sounds like what I need is a hybrid point-to-point and publication / subscription

I want a universal way to send messages to one or more consumers of conditionally, and the conditions are dynamic.

Any suggestions?

It takes a TPP with a queue for each application?

You can do this with publish/subscribe and message filters. all consumers subscribe to this topic, but all of them use a filter such as (not exactly the syntax):

"receiver_id = 'ALL' GOLD receiver_id = 'me" ".

(where 'me' is unique for each subscriber). Then, you can broadcast to anyone with a message including the receiver_id property value 'ALL', or send a message to a specific Subscriber by setting the receiver_id this unique ID of consumers (you will need to send the message once for each consumer in this case). (you may be able to get away with a single message by receiver_id a list separated by commas and do something like "reciever_id LIKE" %, me, %' "", just make sure that your list separated by commas has commas at the ends).

Published by: jtahlborn on April 6, 2011 15:43

Published by: jtahlborn on April 6, 2011 15:44

Tags: Java

Similar Questions

  • What add-on that I can use to create multiple messages (wholesale several messages)?

    Hi, I'm looking for a way to send more big several messages, as between 100-200 addresses. Are there additional coupons that I could use?

    You can send several people the same email using lists in Thunderbird. It's in a standard Thunderbird.

    You can use a "Mail merge" addon to send more emails customized to contacts to a .csv or address book file.

    The amount of 100, 200 etc has nothing to do with Thunderbird and everything to do with allowing your ISP or server.
    They all impose limits to varying degrees.
    Business accounts usually have a higher deductible.

    for example: Gmail
    https://productforums.Google.com/Forum/#! zipoJioRcrU/gmail/subject
    https://support.Google.com/a/answer/166852?hl=en

  • sending messages

    When I click on new pay to send messages it nothing happens...

    [Moved from comments]

    Hello

    See this page to select your language:

    http://support.Microsoft.com/common/international.aspx

    ====================================

    Or sorry that it is area English.

    Left click at the bottom of the Microsoft Community page

    English and set your language.

    I hope this helps.

    Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle=""><- mark="" twain="" said="" it="">

  • BlackBerry smartphones into new device with Blackberry ID, what happens if I send Messages using my old camera (, who were not fired yet) BBM with WiFi only?

    Hello. Greetings. I have a question that is quite tricky and can not understand of I'vedone research on the internet with different keywords. So here's my situation:

    0. my old phone is Blackberry Bold 9780. Last OS I use is Blackberry 7.0 I think (already have Wi - Fi free call)

    1. I bought a new phone, Sony Xperia Z1. I opened the BBM on it. Then I entered Blackberry ID , I've used previously.

    2. after entering my Blackberry ID, I got transferred all BBM stuff in my Xperia Z1, including the contacts and groups that I have in my Bold 9780.

    3. I just tested for send messages in my Xperia Z1 BBM contact list and ask which showed my PIN. He said that only displayed a new (7xxxxxx), instead of my old one (2xxxxxx).

    4. Meanwhile, since I bought Xperia Z1, I have kept my old phone Bold 9780 without wiping or same nothing change and just leave it as its last condition without SIM card (it says "Insert SIM card"). Since I never used data connections , I still have my old BBM chats and contacts in there.

    5. my 5 year old son accidentally use my Bold 9780 of BBM and sent a lot of messages in people in contacts of the Bold 9780 BBM, although he did not use the SIM card. And Yes, the messages he sent chat appears with the icon of the clock (pending to be delivered). But I really hope that the messages will not be sent because the words are not necessary to read.

    Question (s):

    * What happens if I turn on my Wi - Fi connection for my Bold 9780?

    * Will be messages sent from my Bold 9780?

    * Should I just immediately remove contacts on BBM to my Bold 9780? (because I know all the messages I've sent to people will be deleted as well if I delete their contact, and it works)

    * ... And last confusion is, if I have to delete my Bold 9780 BBM contacts, should I remove my Z1 xperia as well since I use the same Blackberry ID to avoid messages sent in other?

     

    Really need the help. Thanks for your time.

    Best regards

    brown11

    :-)

    Hi Brown

    Welcome to the community

    -nothing will happen if you turn on wifi. You can able to browse the internet, but you will not be able to use BlackBerry data services.
    -No, the messages will not be delivered as there is no sim card and your BBM contacts were automatically transferred to the mobile network to your new phone.
    -no need. It not there no more account BBM in your old. You're good, no worries.

    We hope this helps. Good luck.

  • How can I change a default contact number to send messages

    Some of my contacts have more than 1 number of cells. In the new IOS, the first time I click on the "Send message" icon, he asked me what number I want to send your message. Next time, it will automatically use the number I chose. But if I chose the wrong number, I can't find a way to reset, and then select a new number of 'send nessage' by default.

    I thought about it. Open the contact, make a pressure farm (3D touch) click the 'send message '. It opens a menu where you can select the default number.

  • send messages to anroids

    I've recently updated to 10.0.02 and unable to send messages to users who have Android?  I have an iphone 5 c

    Hi Dina61,

    Thank you for using communities of Apple Support.

    I see that you have just upgraded to iOS 10.0.2, and you are unable to send messages to users who have Android phones. I guess certainly let that stop you to communicate with people, so I want to assure you that I help you get this problem is resolved.

    Please go to settings > Messages > Send as SMS. Make sure that it is switched on (green). If it is already on, turn off and turn on/off and then on again.

    Once you have done this, please test by sending a message to a user of Android and see if you get the same result.

    For more information, see: iMessage and SMS/MMS

    Have an amazing day!

  • My i.Phone sends messages without my permission.

    my phone trying to send one or more text messages without my approval or knowledge. What number he sends messages or why I don't know.

    Need help

    Hello

    Depending on your operator, it may be normal for activation of iMessage and FaceTime do incur a cost for sending an international SMS message.

    The message is sent in the background of your iPhone (for servers from Apple to the United Kingdom) what implementation of these services. Some carriers do not charge this SMS message, while others do.

  • Unable to send message AT &amp; T - does not connect to the server. Anyone else having this problem?

    All of a sudden I can't send messages on my AT & T account. I get a message that Thunderbird cannot connect to the server (SMTP). Called at & T and they checked all the settings. I can access my email account on Apple Mail and Yahoo (AT & T email provider), and yet I can not send messages on Thunderbird. I can receive but not send.

    I tried deleting the account and the recovery, but that has not helped. Does anyone else have this problem?

    Christ1,

    Thanks for the tips.

    Even set up a new account did not work. Despite AT & you s claim that it was not a problem with their servers and taking me through a number of measures to ensure what was the origin of the problem, he as magically disappeared as soon he came a few hours after all the machinations. So, still do not know what caused it, but it disappeared.

  • Unable to send messages after the accident, the solutions proposed did not.

    Tuesday (April 7), there was an update to 31.6. Thursday, there was an accident. Since that time cannot send messages. The proposed solutions did not work.

    I get the message that the SMTP server does not support the selected authentication.
    I tried the solution mentioned. But nothing helped. I configured the server out on the different types and remove the password as shown. After that, I did the configuration with different types of Setup again. No solution.
    There is not a possibility of webmail. So I'm stuck now.

    There is no problem with incoming messages, they come. This password should be deleted also?

    Any help would be greatly appreciated.

    Greetings,
    AZ58.

    Good. You can then mark the thread as "Solved" Please?
    Thank you.

  • Cannot send messages in Thunderbird since TDS converted my email... . How can I fix?

    Since TDS converted my email, I can no longer send messages in Thunderbird. I checked all the settings and they
    seem to correspond to the correct configuration. It's so frustrating! TDS argues that it is a problem of Mozilla.

    I have no idea what or who is TDS "converted my email" means.
    Can be a little more specific?
    What are "the correct settings?

  • You bird ceased to send messages with attachments or save it in drafts

    When you send messages with attachments, I get the following error:

    The message send failed.
    Could not open the temporary file created November 24, 2014.pdf - 14101501 Dairy Queen Hastings - C:\Users\Rick\AppData\Local\Temp\moz_mapi\Document. Check your setting of "temporary directory".
    When I try to save to drafts:

    Unable to save your message as a draft.
    Could not open the temporary file created November 24, 2014.pdf - 14101501 Dairy Queen Hastings - C:\Users\Rick\AppData\Local\Temp\moz_mapi\Document. Check your setting of "temporary directory".

    There was perhaps a Windows Update a few days before the trouble.

    I can't find "Temporary directory" setting and don't know what to do with it, if I found it.

    You must delete the document in the folder C:\Users\Rick\AppData\Local\Temp\moz_mapi.

    These folders etc are in the "AppData" folder, which is hidden by default.
    You bring up the folders and hidden files.

  • send message not SMS, but only imessage

    Hey,.

    I set up my new mac (backup time capsule if) and I can I only send messages but no text messages. under what settings can I change this?

    Thank you!

    What version of OS are you using? If Mavericks, you must at least Yosemite.

    Continuity requirements transfer procedure

  • are not send messages

    Hi, so I was tryung to send messages to people using the desktop version of Skype and messages don't send, they are just saying that they are not delivered even if im on a call to the person, but they send on my phone, so I have no idea whats courses on =)

    IM using windows 8 and im using version 7.18.0.112 Skype

    I fixed it I went in %appdata%/Skype and deleted it - DbTemp file.

    She took all my away messages, but I was able to load Skype and was able to send and receive messages (like 60 during the period of as a second) but I had all saved messages and all sent too

    At soon Sattious

  • Skype does not allow me to send messages to a discussion group

    I am at a loss here, there is no explanation as to why this should be the case.

    Whenever I have send a message using my computer, in a newsgroup, each message is considered "not recovered". I see people typing, but my messages don't want out.

    Now, here are the best, I have reinstalled Skype, tried different versions, disabled my firewall, this isn't a network issue, can I send messages to Skype to other people. In my own home, people are not having the same problem with the same group. I can even send messages to the group using my phone with the same account.

    I also tried logging into another account and typing in the same group and still nothing.

    The problem started out of the air, I was not change settings, I was just typing in the chat and it began seconds after my last post.

    Looks like it was isolated to my user settings, remove the Skype settings in %AppData%, it fixed.

    I'm more perplexed as to how Skype itself spontaneously broken after sending a message.

    Well, we'll never know.

  • Trying to send messages to a contact, but the message says waiting

    I tried to send messages to my friends, but once I have hit "enter", the message says 'pending' and never gets thanks to my friend. Please help me?

    What happens with one of your contacts only? Is the contact online? Messages will be awarded only when the receiver is also online.

    Previously messages showed the time of just sent after you hit 'Send', however, this does not mean that they have been received by the other side. Now display messages waiting until the other party has actually received them.

Maybe you are looking for