Message queues and expiry *HELP*

My problem is hopefully a simple one to overcome. Without going totally in depth, i have a Server program that creates JMS Object messages and sends them off to a message Queue. Then i have another program, a client, that recieves and processes the object messages accordingly.
In my case, the server and the client will be on diferent sides of a erroneous wireless setup.
Basically i want messages to be recieved if, and ONLY if, there is a complete connection to the client, if there is no connection there i want the message to expire. I tried using timeToLive(), but that will not suffice, as there is no way i can tell how long the message will take to reach the JMS provvider, and hence the client.
Also in using a message Queue the unrecieved messages build up and the latest messages will not be recieved until all outdated ones are recieved. Is there another generic sort of connection that doesn not allow for the build up of messages? unlike topic and queue?

Hi.
Strange, you are describing the correct behavior for JMS.
The simplest way will be to not use JMS at all.
Since you can't (via JMS) check the connection status, you'd either have to do it
via the provider's mechanism, or use the TTL.
As for the queue you are using for the unreceived messages - thar's also a TTL issue. Set a TTL
and the queue will clear up.
It might be worthwhile to look into the provider's admin options - perhaps you may be ablr to set ttl at
the provider itself, which will mean that you don't mind how long it takes the message to get to the provider - only how long it takes it from the provider to the destination.
Nimo.

Similar Messages

  • Sun ONE Message Queue and JMS

    Is Sun ONE Message Queue software a reference implementation or a
    product?

    Sun ONE Message Queue is a product. It is a production implementation of the JMS
    specification. Sun ONE Message Queue software performs the function of a message
    broker, essentially serving as a common denominator enabling the exchange of
    information between applications. A number of competing products perform this same
    function, but Sun ONE Message Queue software adds the availability of JMS APIs to
    promote an open, industry-standard interface to messaging middleware, thus
    promoting the platform interoperability of Java while also enabling developers of
    business applications to write to only a single interface. In and of itself, this does not
    make Sun ONE Message Queue software unique since other MOM products also
    conform to the JMS specification. However, the combination of JMS with high
    performance, low cost, ease of use, and Sun's world class distribution and support
    channels makes Sun ONE Message Queue software a highly competitive product.

  • Message Queuing and Once Only Delivery Question

    Okay... not looking for too detailed information as you'll lose me.  Was hoping someone could clear something up for me.  In the Websphere world Websphere uses MQ as it's queuing mechanism internally to guarantee once-only delivery of messages.  Now I know XI can integrate with MQ (or other messaging systems, JMS,etc...)but certainly XI guarantees once-only delivery without any of those components.  My question is is XI's "queuing" mechanism proprietary or can, for instance, an external system somehow "put" or "get" information to/from that "queue"?

    Shaun,
    As far as my knowledge goes, I don't think external system can use the queuing mechanism of XI.
    Regards,
    Ravi
    Note : Pleaser reward the posts that help you.

  • Microsoft Messaging Queue and SAP XI .. Possible?

    Hi All,
    How can we integrate MS MQ with SAP XI? Its urgent.
    Ranjeet Singh.

    Hi Ashish,
    I thought I have mentioned the answer. Well in my case,
    the system that i need to integrate can communicate with external system through MS MQ or if the target system does not understadn MS MQ then it has a component which enable file  based commumnication.
    so I will have two solution for the integration:
    1. Either buy iWay Adapter for communicating with MS MQ .
    2. if client is not ready to buy the adapter , then we have use the file based communication. In this case I need to use File adapter.
    3. If at all , (in rare case) client is not ready to install the component which enables file based communication , then we have to write .Net code to retrieve xml message from MS MQ . .Net provides standard API for MS MQ.  I have tested this case also.
    Hope it is clear.
    Ranjeet Singh.

  • "Message Queue facility inactive"?

    Hi all,
    When I run ipcs command, I got:
    $ ipcs
    IPC status from <running system> as of Wed Mar 28 15:06:55 PST 2001
    Message Queue facility inactive.
    T ID KEY MODE OWNER GROUP
    Shared Memory:
    m 0 0x50000e9b rw-rr-- root root
    Semaphores:
    $
    Does this mean the Message/Shared Mem/Semaphore is not active? How do I make them active? Thanks in advance for your help!
    Phi;

    Hi Phil,
    The system V IPC components are dynamically loaded on Solaris, so aren't in the system until you try and use them. Run a program that creates a message queue and ipcs will then report about the message queue facility.
    Hope that helps.
    Ralph
    SUN DTS

  • Message Queue vs RFC Queue

    Can anyone tell me what's the difference between Message Que and RFC Queue?
    Thanks
    Mark

    Dear,
    Connectionless programming involves using a queue to hold user input to another application or server. Here, we may not have a permanent connection to the application or server. Instead you log your input in a queue and the other application or server then takes it from the queue, processes it, and sometimes it may put the result back to the same queue or to a different queue. Unlike UDP, here there is no chance of message or data loss once you log it into queues.
    The Connection oriented is different from the aforementioned and talks about any standard database system (DBMS, RDBMS, OODBMS and ORDBMS) available these days. Presumably, I don't think that there should be an explanation required for connection oriented programming. Unlike TCP/IP, there is no chance of data packet loss and it will bring the data packet to the required destination.
    In short, message queue is purely connectionless and gives an assurance that it won't lose any data which is in the queue.
    Message queue will be used :
    a.Storing insignificant information in the message queue while your database server is busy with other real time processing.
    b.Process user input which is given by the user after getting supporting information from other source or applications that are not active or ready at this stage.
    c.Because of database server outage, you might require keeping user input in the message queue and processing it as and when the database comes online.
    d.Exchanging data with a mainframe system like SAP. Personally, the real time communication with SAP is often a problem. In such cases, the SAP system uses message queue for storing and forwarding information where real time communication is not possible at that time.
    RFC Queue:
    Communication between applications in different systems in the SAP environment includes connections between SAP systems as well as between SAP systems and non-SAP systems. Remote Function Call (RFC) is the standard SAP interface for communication between SAP systems. RFC calls a function to be executed in a remote system.
    In short, essentially application infrastructure and business requirements determine whether you should use a message queue or not. Personally, I would suggest that itu2019s a good idea to work with a tool for a while so that you can get to the solution in which you should use it.
    http://help.sap.com/SAPhelp_nw04/helpdata/en/6f/1bd5b6a85b11d6b28500508b5d5211/content.htm
    Regards,
    Syed Hussain.

  • Hook up to Message Queue

    Hi,
    I was just wondering if anyone knows whether I can get Calendar Notifications using Message Queue, I have successfully hooked up Messaging Server with Message Queue and that sends through NewMsg notifications at the moment. However I can't find any documentation regarding this kind of functionality for Calendar Server. I would like to use Message Queue, due to the JMS api being a whole lot nicer and more complete than the ENS stuff that I regret playing with.
    I have Calendar Server 6.3 patched to 121659-19. I can't find any csversion tool to give the exact output. Running it on Centos 5, as a single instance with multiple domain environment.
    Many Thanks for any help,
    Ned

    Hi,
    Yes, we also have the same issue with Calendar server 6.3 JMQ 4.1patch 1.
    I believe, Solaris 10 comes with JMQ 4.1 installed. We just did the following:
    1. Modified the JMQ configuration file /etc/imq/imqbrokerd.conf and replaced AUTOSTART=NO to AUTOSTART=YES
    2. Started Java Message Queue: /etc/init.d/imq start
    3. The Out put of command "/usr/bin//imqcmd query bkr -u admin" shows as follows:
    Version 4.1 Patch 1
    Instance Name imqbroker
    Broker ID
    Primary Port 7676
    Broker is Embedded false
    Instance Configuration/Data Root Directory /var/imq
    ... and so on
    4. Added the following to the ics.conf:
    local.server.csmfagent.enable = "yes"
    caldb.serveralarms.dispatchtype = "jmq"
    caldb.serveralarms.jmqTopic = "JES-CS"
    caldb.serveralarms.jmqhost = "localhost"
    caldb.serveralarms.jmqlib = "/path_to_calendar6.3/cal/lib/libmqcrt.so"
    caldb.serveralarms.jmqport = "7676"
    caldb.serveralarms.jmqUser = "guest"
    caldb.serveralarms.jmqPwd = "guest"
    5. We also have the ENS enabled and have the following in the ics.conf file:
    service.ens.enable = "yes"
    caldb.serveralarms.dispatchtype = "ens"
    caldb.berkeleydb.ensmsg.createevent = "yes"
    caldb.berkeleydb.ensmsg.createevent.url = "enp:///ics/caleventcreate"
    caldb.berkeleydb.ensmsg.deleteevent = "yes"
    caldb.berkeleydb.ensmsg.deleteevent.url = "enp:///ics/caleventdelete"
    caldb.berkeleydb.ensmsg.modifyevent = "yes"
    caldb.berkeleydb.ensmsg.modifyevent.url = "enp:///ics/caleventmodify"
    6. Ran the JMS client as /path_to_calendar6.3/cal/tools/unsupported/bin//jmqclient -u jesuser -w password -q imqbroker
    7. when we create some events or delete events ... we donot see anything reflected in jmsclient.
    Am i missing anything? Any idea whats the issue is? Can we have notifications published to both ENS and JMQ? or just either one of them?
    Any help is appreciated. Thanks in Advance!
    Regards,
    Arun

  • Message Queue

    What is a Message Queue and Is there other MQ available other than java .where can i get more info on MQ or any documentation/tutorial

    check the site www.fiorano.com

  • Can we peek into System V message queue?

    Hi, there.
    I have to processes A and B, talking through system v message
    queue. For debugging purposes, I wish to attach a third
    process C to that message queue and print out what info
    process A and B are exchanging.
    Is that possible?
    thanks

    It is starting in Solaris 8, Update 2 (The 10/00 release), but not previously.
    man msgsnap(2) for all the gory details.

  • Oracle tuxedo and Oracle tuxedo message queue on top of a virtual machine.

    Hi buddies.
    how is it going?
    A quick question.
    So we are going to go live  using Oracle Tuxedo 12.1.1.0 with Distinguished Bulletin Board Liaison and Oracle Tuxedo Message Queue 12.1.1.0  on top of a Virtual Machine (VMWARE) running Oracle Linux 6.2. However we want to know if there are any recommendations or mishaps in which we may face ahead by running Oracle Tuxedo on a virtual machine?
    I mean, I am wondering if I have to worry about kernel parameters, virtual machine parameters or any other thing from which could mess up everything.
    Another question.
    Does oracle also provide virtual machines certification where Oracle tuxedo would run on top of ?
    Todd Little-Oracle
    Maurice G

    Hi Bruno,
    I'm not sure what you mean with Distinguished Bulletin Board Liaison.  I'm guessing you mean a clustered or MP configuration?  And is it truly a clustered configuration or just a single machine MP configuration?
    Regarding configuration, are you using Tuxedo services as well or just Tuxedo Message Queue?  The biggest issue related to OS configuration is around IPC resources.  If you do a tmloadcf -c on your UBBCONFIG file, it will help you determine the minimum IPC resources required.  In general I suggest configuring significantly more resources than the minimum to allow for future changes and for some of the parameters for heavier loads.  In particular IPC message queue parameters are heavily dependent upon load.  So make sure the maximum message size and queue size are large enough for your anticipated workload.  You can monitor them under load using the ipcs command.
    We don't certify virtual machine environment but support them as long as the VM vendor assures compatibility, which obviously VMware and Oracle VM both do.
    Regards,
    Todd Little
    Oracle Tuxedo Chief Architect

  • MS Exchange server 2010 messages will be placed in the poison queue and the transport service will crash

    Can any1 please help.
    We have Exchange server 2010, we just upgraded it with SP3 and then the issue occers that we were unable to send n receive mail outside of our LAN...i mean from gmail or hotmail..
    we have then updated with CU4 which is the latest but still messages will be placed in the poison queue and the transport service will crash.
    We have disabled the antivirus also but issue remains same.
    We have CAS 1 n 2 as of Clustering environment and we upgraded sp3 for both. but we did CU4 on CAS1 to see the results to resovle this issue but no luck

    Hi,
    Did you get any NDR message now when you send a email to outside? And vice versa.
    In addtion,I recommend you telnet to port 25 to test SMTP communication.
    If any question,please feel free to post here.
    Thanks.
    Niko Cheng
    TechNet Community Support

  • I want to use ODI to read XML messages from JMS queue and then process it..

    I want to use oracle ODI (Oracle Data Integrator) to read XML messages from JMS queue and then process it.. i also want to process and validate the data in it....
    Could anyone please tell me the steps to achieve the same. I tried some ways which i got on OTN, but not able to implement it exactly...
    As i m very new to ODI, it will be great if you provide detailed steps..
    Thanks in advance for your help....

    Hi,
    Were you able to do it? We are facing this same issue now and, despite the fact the docs say otherwise, it does not seem to be a trivial task.
    TIA,
    Tedi

  • Problem with GlassFish and Sun Java System Message Queue

    Hi,
    I used application server PE.8 and I upgraded to Sun Java System Application Server Platform Edition 9.0 Update 1 Patch 1, and I changed all my CLASSPATH and everything. My system is working fine, but the Sun Java System Message Queue that I used before is still showing the queues and physical queues of the previous application server, not the new one. Do you know if there is way to change that and link it to the new version?
    thanks

    Use an ESB like ServiceMix to bridge JMS providers
    http://servicemix.org/
    Or write your own MessageListener to consume from one JMS and publish on another one. Be careful with queues to avoid loosing the ordering - so you probably want to use a single MessageListener per subscription/queue - or to take advantage of Tibco's exclusive queues to ensure ordering is preserved. If ordering doesn't matter then don't worry too much about it and maybe have a pool of consumers to improve throughput
    James
    http://logicblaze.com/

  • I am having trouble installing Itunes 11.1.1.  I get an error message 2502 and 2503.  Any help in this regard would be appreciated.

    I am having troble installing Itunes 11.1.1.  I get erro message 2502 and 2503.  Any help?

    Windows 7 32 bits
    I had the same issue which is now solved. For your information, the following procedure was successful:
    Check permissions within the Installer folder. To do this, follow these steps.
    1. Click on Start and in the Start Search bar > type in > c: /windows/installer.
    2. Right click on c: /windows/installer at the top under programs and click properties.
    3. Click on the security tab > Verify if System and Administrator account has Full access permissions.
    Note : I ran into problem with locating the C:\windows\installer directory. For some reason Windows Explorer wouldn't show it even though I don't have it hidden. I ended up using the ExplorerXP application to locate the directory. ExplorerXP is available at http://www.explorerxp.com/

  • Iphone 5 - I am trying to delete message threads and once I do, I go to text someone else and it won't send. HELP? I just don't want those messages on my phone anymore.

    Iphone 5 - I am trying to delete message threads and once I do, I go to text someone else and it won't send. HELP? I just don't want those messages on my phone anymore. I have tried to restart my phone but when I do, the "deleted" threads show back up on my phone. I use iOS 7.1.

    Hello Makayla,
    It sounds like you're deleted message threads keep coming back after you restart the devie. I recommend starting by quitting all the running apps on your phone:
    iOS: Force an app to close
    Double-click the Home button.
    Swipe left or right until you have located the app you wish to close.
    Swipe the app up to close it. 
    When you have done that restart the device and test the issue again:
    iOS: Turning off and on (restarting) and resetting
    If the issue persists, backup your device to iTunes and then restore it as a new device and verify that it works. 
    How to erase your iOS device and then set it up as a new device or restore it from backups
    If it does, then restore your backup to either verify it still works and the software just needed reinstalled, or isolate the issue to the backup file itself. 
    Thank you for using Apple Support Communities.
    Regards,
    Sterling

Maybe you are looking for

  • The product key you typed cannot be used to activate windows on this computer

    Diagnostic Report (1.9.0027.0): Windows Validation Data--> Validation Code: 50 Cached Online Validation Code: N/A, hr = 0xc004f012 Windows Product Key: *****-*****-HXCJX-9TMPR-37RKD Windows Product Key Hash: ZNnqEjNttbn0Nan97p9zG9HvPV0= Windows Produ

  • Purchase group restrict with doc type

    scenario is this like i want to restrict purchase grp with doc type wise, suppose i want purchase group <b>"abc"</b> should not be used in doc type "<b>FO"</b> then what setting should i do?

  • Question about Undo Tablespace?

    Hello; The size requirement of the undo tablespace is related to the number and size of transactions that occur on the database.But I dont need to query any of these transaction for a schema or table by using flashback so is there a way of disabling

  • Using BBP_PDATT_CREATE

    Hi Anyone has tried creating PO attachments in SRM using FM BBP_PDATT_CREATE without any errors ? have tried using this FM but i kept getting a short dump . Any advice is appreciated. Thanks.

  • Can we add form validations in edge animate for particular input box

    Hi Everyone, I have created an animation which includes some forms to be filled by the user. For this I have created the form in which i used the j-query input box inside the edge animate. Its appearing perfectly as it should be. Now I want to valida