Dynamic Message Selection

In PubSub, could we create a durable subscriber, but specify the message selector later on? Kind of filter the message received by the subscriber after the subscriber is created? Keep in mind, the message needs to be retained in the topic if the filter does not match the message in the topic

No - selectors must be specified at subscription time and according to the JMS specification you cannot change a selector once the durable subscriber is created.
A JMS provider may provide an extension which could do something like you ask; e.g. ActiveMQ has support for retroactive subscription policy...
http://activemq.org/Subscription+Recovery+Policy
which currently is implemented for non-durable topics. It would be pretty straightforward to support retroactive subscription policy for durable topics too; which would allow you to create durable subscribers with artbirary selectors whenever you want and to go backwards in time to consume messages delivered before the subscriber is created.
James
http://logicblaze.com/

Similar Messages

  • Dynamic RadioList selection

    I am building a radio list dynamically in TOOL code based upon certain
    criteria. I can get the list built no problem. But, I want to "select" a
    certain element based on an attribute I check on the object. So the element
    I want to appear selected may be element 2 or element 5 or element x. Has
    anyone ever done this? I can't seem to find anything in the Forte help that
    will allow me to do this?? Any help would be greatly appreciated.
    Thanks!!
    Doug Scurr
    HealthPartners
    8100 34th Avenue South
    Minneapolis, MN 55440-1309
    (612)883-7317
    [email protected] <[email protected]>

    Dale,
    I knew it would be something easy!! I obviously can't read very well!!
    Thanks for the help!!
    Doug Scurr
    HealthPartners
    8100 34th Avenue South
    Minneapolis, MN 55440-1309
    (612)883-7317
    [email protected] <[email protected]>
    -----Original Message-----
    From: Dale V. Georg [SMTP:[email protected]]
    Sent: Tuesday, April 27, 1999 2:34 PM
    To: [email protected]
    Cc: [email protected]
    Subject: Re: Dynamic RadioList selection
    > [email protected] wrote:
    >
    > I am building a radio list dynamically in TOOL code based upon
    certain
    > criteria. I can get the list built no problem. But, I want to
    "select" a
    > certain element based on an attribute I check on the object. So
    the element
    > I want to appear selected may be element 2 or element 5 or element
    x. Has
    > anyone ever done this? I can't seem to find anything in the Forte
    help that
    > will allow me to do this?? Any help would be greatly appreciated.
    > Thanks!!
    This should be as simple as setting the IndexValue of the radio list
    to
    the item that you want to have selected. For example:
    self.<theRadioList>.IndexValue = 2;
    to select the second item. Make sure your window is already open
    when
    you do this, though. ie, make sure self.Open() has already been
    called. The Open() method initializes a lot of the widget
    information
    on the window, and it may well set the index value of the radio list
    back to 1.
    Hope this helps,
    Dale
    ===================================
    Dale V. Georg
    Senior Systems Analyst
    Indus Consultancy Services
    [email protected]
    ===================================
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

  • Dynamic Message Choice

    I'm sure there was a discussion about this before(I could not find the exact thread) but let me describe my requirements .
    I have two messageChoice UI elements that is both populated by view objects. One is independently queried the other is dependent on the value of the first message choice.
    I want to accomplish two things
    1. When I select an item on the first messagechoice element the second messagechoice element should be refreshed. (AJAX like action)
    Anybody kind enough to point me to the right direction? Was it something discussed before? Thanks.

    u609740 ,
    See this article on my blog :
    http://mukx.blogspot.com/2007/09/dependent-dynamic-message-choicelists.html
    --Mukul                                                                                                                                                                                                                                                                                                                                   

  • My mail on iMac is not working properly. Click on email, it hangs, showing previous email. Takes forever to load. "No message selected" showing in a blank screen

    My mail is not working properly: when I click on an email it hangs, frequently showing the previous email, often for up to a minute. Or it shows "loading" and just sits there showing nothing. OR there is a blank screen saying "no message selected". It's slow to load, and I'm not happy. Recently switched from Windows PC, not impressed so far. Very frustrating.
    Any suggestions would be gratefully received. (I upgraded to Mountain LIon, and don't think I had problems before I did so, though I hadn't had the computer for long.)

    Hi Sarah,
    Open Console in Utilities & see if there are any clues or repeating messages when this happens.

  • How to pass dynamic messages in a program

    Hello Experts,
        Would any one say..In a module pool program..I supose to pass dynamic messages..How can i do..
    Thanks in advance..
    Prashanthi

    Is this what you are looking for ? Re: Call MESSAGE dynamically

  • My mail is set up but when I touch the mail icon the screen is blank with a message saying 'no message selected' then goes straight to home page. I have rebooted, deleted and reloaded my email account but nothing is working.

    My mail is set up and it comes up with 75 messages received but when I click onto the mail icon the page is blank(White) with the message 'no message selected' and then goes to the homepage.  I have rebooted the iPad and deleted and reloaded my mail account but nothing works.

    The app is crashing for some reason - maybe an email with a very large attachment or some crappy spam email is messing things up. Quit the mail app.
    Go to the home screen first by tapping the home button. Quit/close mail by double tapping the home button and the task bar will appear with all of you recent/open apps displayed at the bottom. Tap and hold down on the mail app icon until it begins to wiggle. Tap the minus sign in the upper left corner to close it.  Restart the iPad. Restart the iPad by holding down on the sleep button until the red slider appears and then slide to shut off. To power up hold the sleep button until the Apple logo appears and let go of the button.
    If mail still crashes, go to your webmail in a browser and see if you have an email in there that might be causing a problem and delete it. Then try the app again. If necessary, quit the app, restart the iPad and then try again.
    If that doesnt help, try a reset. Reset the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons.

  • Dynamic bandwidth selection for PPPoE over Ethernet/VLAN

    Hello all, hope you are doing great.
    I'm planning to deploy PPPoE Server (Cisco Router 7609) for a ISP. This ISP will provide Internet connection for customer over Ethernet.
    I have to provide a solution to assign bandwidth to each customer by RADIUS and I find some clues that Dynamic Bandwidth Selection (DBS) should be the answer. Unfortunately, DBS only support PPPoA or PPPoE over ATM.
    If you have any experience with equivalent function, please help me. Thank you very much.
    Regards,
    Hiep Nguyen.

    Hiep,
    I think I have figured this out.  Here is the test config on my PPPoE server:
    int lo1
      ip address 172.25.25.25 255.255.255.255
    ip radius source-interface Loopback1
    aaa new-model
    radius-server host 172.16.1.55 auth-port 1812 acct-port 1813 key cisco$$$
    aaa group server radius RADIUS-ACT
     server 172.16.1.55 auth-port 1812 acct-port 1813  
    aaa authentication login default group RADIUS-ACT local
    aaa authorization exec default group RADIUS-ACT local
    aaa accounting exec default start-stop group RADIUS-ACT
    aaa accounting delay-start
    aaa authentication ppp default if-needed group RADIUS-ACT local
    aaa authorization network default group RADIUS-ACT local
    aaa accounting network default start-stop group RADIUS-ACT
    aaa accounting update periodic 5
    bba-group pppoe global
     virtual-template 1
    interface fa0/1
     pppoe enable group global
     ip address 172.30.0.1 255.255.0.0
     no shut
    interface Virtual-Template1
     mtu 1492
     ip unnumbered FastEthernet0/1
     peer default ip address pool GLOBALPOOL
     ppp authentication chap
    ip local pool GLOBALPOOL 172.30.0.2 172.30.127.255
    policy-map POLICE-128K
     class class-default
        police 128000
    policy-map POLICE-512K
     class class-default
        police 512000
    Here are the attributes on the radius server, for a group the PPPoE customer belonged to:
    Service-Type = Framed
    Framed-Protocol = PPP
    cisco-avpair="ip:sub-policy-In=POLICE-128K"
    cisco-avpair+="ip:sub-policy-Out=POLICE-512K"
    Here is the show policy-map on the virtual-access interface the client connected on:
    sho policy-map int virtual-a 3
     Virtual-Access3
      Service-policy input: POLICE-128K
        Class-map: class-default (match-any)
          1000 packets, 1402000 bytes
          5 minute offered rate 0 bps, drop rate 0 bps
          Match: any
          police:
              cir 128000 bps, bc 4000 bytes
            conformed 799 packets, 1120198 bytes; actions:
              transmit
            exceeded 201 packets, 281802 bytes; actions:
              drop
            conformed 0 bps, exceed 0 bps
      Service-policy output: POLICE-512K
        Class-map: class-default (match-any)
          911 packets, 1137746 bytes
          5 minute offered rate 0 bps, drop rate 0 bps
          Match: any
          police:
              cir 512000 bps, bc 16000 bytes
            conformed 799 packets, 1136178 bytes; actions:
              transmit
            exceeded 0 packets, 0 bytes; actions:
              drop
            conformed 0 bps, exceed 0 bps
    I was able to generate enough traffic with ping to meet the exceed action in and have it drop packets.

  • Dynamic Date selection inactive

    Hi,
    I am not able to give dynamic date selection in a variant. (D: Dynamic date calculation).The traffic light is displayed in red and there is no options such as
    current date etc. is there any need to do some settings to get these options.

    Hi,
    have a look at the below link..  ( they have mentioned the steps of customer exit variable fassigning for reporting agent)
    https://websmp110.sap-ag.de/~form/sapnet?_FRAME=CONTAINER&_OBJECT=011000358700003598422003E
    Regards,
    Siva.

  • Dynamic parameter selection from infoview not storing the sql password

    We are having the problem of dynamic parameter selection from infoview not storing the sql password as it does for the actual report. We are using Crystal Reports XI Release 2 version 11.5.3.438 (Not sure of SP level, asked in separate thread).
    To be more specific.
    We have created a report that dynamically populates the parameters of the report by pulling the records from the Informix sql database and allowing selection from there.
    In the Central Management Console for the report object we have set as follows:
    Process - Database:
    Use original database logon information from the report - the sql username and pw etc
    Use same database logon as when report is run
    Process - Parameters
    In selecting a default selection there is the option to put in the sql password, however, this does not stick and clears after update.
    As such the end result is that every time this report is run from infoview and a user chooses a parameter (there are 5), crystal goes through some timeout for about a minute or so and then requests the sql password, if a user then selects the next parameter, the same timeout and password dialog appears.
    We need the crystal report to handle to the sql password for fetching the parameters as well as for the database section of running the report, however, the parameters insists on the end user always putting the password in.
    This is 100% replicatable on our system.
    Any way that we can fix this?
    Will an update fix this issue? If so could you please advise which one?
    Thanks

    Hi,
    I am having the exact same problem. Any help?
    And what does "Use same database logon as when report is run" mean? For me that would be that no prompt is needed for getting values in a dynamic parameter...
    Regards
    Magnus

  • When using mail icon i get a blank screen with No message selected on the RH side. Top left is the word thread in  black . all other buttons are greyed out except the send new mail one. Cna anyone help?

    Email does not appear when using the mail icon on the home screen. I get No message selected showing on the rh side of my screen with the left hand third of the screen blank. Buttons on the top line are greyed out except the new mail one. The word thread appears in black on the top left hand side of the screen The only way out is to close the screen. all other apps work okay.

    Hello calverone,
    Thanks for using Apple Support Communities.
    To start troubleshooting this issue where the Mail application is not appearing correctly on your iPad, I'd like you to please force the Mail app to quit, and then restart your iPad.
    iOS: Force an app to close
    Turn your iOS device off and on (restart) and reset
    Have a great weekend,
    Alex H.

  • Missing messages: Selection completed

    Hi
    We are extracting data from R/3 to BW using custom extractor which is used function module.  Data is coming to BW and we could see same number of records as R/3 in PSA .The problem is in the detail tab of RSMO under extraction missing messages “Missing messages: Selection Completed” shows yellow and the extractor job in R/3 side shows active and we could see in SM51 it’s running and accessing ROIS table. When we go and check in ROIS table we didn’t see our Info source over there. Is this the problem? Don’t know how it related to Missing messages issue.
    Note: We checked RFC Connection, short dumps, TRFC logs, ALE Management, system logs and all.
    Appreciate help.
    Thanks
    Naga

    Hello,
    How did you solve this issue? We encounter the same issue. Please post the solution.
    J.

  • How-to Dynamic Hierarchy Selection.

    Hi guys,
    does anyone know how to implement "Dynamic Hierarchy Selection"? I have a main hierarchy but would like to filter it further while loading the hierarchy.
    E.g. I have a financial statement verison with both Balance Sheet and P/L items, i would like to separate the main into two new hierarchies, one BS and P/L hierarchies instead, apparently the infopackage allows you to write small codes to dynamically select which hierarhcy you want.
    Cheers.

    Hi,
    We donot have this type selection at the time of upload. The thing we can do is upload both versions into BIW and in the report we can use Hierarchy variable to have dynamic selection of hierarchy.
    with rgds,
    Anil Kumar Sharma .P

  • BMBC Dynamic Date selection Variant

    Hello Team,
    I want to create variant in BMBC -Batch Information Cockpit with Dynamic Date Selection. But it do not find the screen the to set-up variant attributes
    This is the field where I want to have dynamic date selection, 1st Day of the month to Last day of the month.
    Field name and program
    I am using SE80
    As you can see screen number 0100 is not showing up. and I have gone though all available screen but i could not find the field.
    Please advise if dynamic date selection for this field is possible at all or there is other way.
    Thanks

    I don't think that it is possible to have dynamic date selection here. The whole selection screen is just dynamic, it has only place holders and you define in customizing which field is on the selection screen.
    You actually save a selection variant via this extra big button for selection variants, which is quite different to the disc icon where you usually save your selection variants and where  you have the option to define dynamic date fields.

  • Message selection

    guys,
    i have a query, i have to develop an application for a bank where the requirement is such that i need to send messages to several subscribers, but not all the messages be sent to all subscribers. What i mean to say is, messages are to be sent to a particular subscriber based upon the criteria set by the subscriber. this criteria is set by the subscriber and is based on his requirement. as far as i know, message selection can be done through message selectors only. how could message be sent to a particular subscriber based upon what he wants to receive depending upon what content is being sent in the message, can somebody help me out in resolving this issue, or tell me if i am wrong anywhere in the concept of message selector. thanks in advance for your kind help
    james

    Paul,
    Please read on for my comments .....
    First off. JMS does not specifically state aproperty
    value needs to be a String. A property value can be
    any one of the JMS primitive types. In my 1stexample
    BVAL would clearly have been a float, something far
    more efficient than a Java string.That's absolutely correct.
    I fail to see why a dictionary containingkey/value
    data is any different to an XML document containing
    elements, attributes and respective values. As far as the data being published is concered, what
    you
    are saying is correct. If a piece of information can
    be
    represented by an xml, it can be represented by a
    Dictionary
    as well. In other words, the dictionary approach works
    perfectly well for the publisher side of the
    application.
    However, how does one set a message selector on a JMS
    consumer
    based on what's inside the dictionary object? A JMS
    vendor is
    only expected to look into message properties while
    checking
    for message selection and not inside an Object
    property.
    Of course, a JMS Provider is free to come up with
    proprietary
    methods that allow consumers to specify selection
    criterion
    based on what's coming in a Dictionary Object.
    However, XML
    and XPath is a standard that fits the bill perfectly
    and hence
    is an obvious choice. This is exactly what Fiorano
    did.
    As a subscriber in both scenarios you need
    to have an understanding of what it is you arelooking
    for. Agreed. However, the publisher should not be forced to
    know
    what are all the consumers looking for. The fact that
    a publisher
    sets message properties in outgoing message requires
    it to
    be aware of the fact that interested consumers will be
    looking
    out for this particular property. A change in
    consumer's selector
    requires an appropriate change in the publisher.
    Hence, a publisher
    and a subscriber are not completely de-coupled from
    each other.
    As I have stated many times before the common
    denominator between a subscriber and a publisher isa
    queue or topic, the 2 remain decoupled.The above is fine as long as there are no message
    selection
    rules on the consumer. See note above.
    JMS selectors work out well only where this setof
    message selectors on a topic is finite and is not
    expected to grow in future.
    This I suspect is a result of poor implementation.This has nothing to with implementation. Consider an
    ever
    growing consumer list where each consumer has a
    different
    type of selector involving a different property name.
    I
    have already stated an example of such a requirement
    in
    my earlier post. How do you propose to build such a
    system
    with standard JMS selectors?
    Guneet,
    The last thing I want to do is help you, the other people at Fiorano or the people at Modena fix up your product.
    Performance tells all and therefore implementation clearly does have something to do with it. Unfortunately for legal reasons we can no longer talk about performance comparisons.
    I respectfully suggest that this thread end here.
    Regards,
    Paul Brant
    my-Channels - Technologies working together
    http://www.my-channels.com/

  • Dynamic Message Box

    I am trying to create a dynamic message box that will update as things are being deleted from a list. I am going to presume that JOptionPane won't allow for such a thing as fancy as this and I have really no other idea as to how to do this.. All I need to do is countdown the items as they are deleted in a message box. Any suggestions?
    takizzle

    I am trying to work it with JFrame right now but I am having a problem getting something to pop up in the frame.. here is my code:
    JFrame statusFrame = new JFrame("Deleting Items");
    JComponent comp = new JTextArea("Deleting items x of y!");
    comp.setVisible(true);
    comp.show();
    statusFrame.getContentPane().add(comp, BorderLayout.CENTER);
    statusFrame.setSize(200, 150);
    statusFrame.setLocation(500, 500);
    statusFrame.getContentPane().add(comp);
    statusFrame.setVisible(true);
    statusFrame.show();
    The Text area is not coming up. Any ideas?/
    Takizzle

Maybe you are looking for