-
1. Re: JMS client: message persistent and resending
schrouf Aug 19, 2005 4:01 AM (in response to wonglh)Read a single book or technical article about JMS on your own !!! If you then have a problem, ask the forum, but do not ask for doing your own homework !
-
2. Re: JMS client: message persistent and resending
wonglh Aug 19, 2005 4:41 AM (in response to wonglh)All of the information I got from book or technical article is about how to persist or cache message at server/middleware side and how to ensure delivery of message in the case of the target (receiving) application is unavailable (e.g. using durable message).
However, in my case I failed to send the message to the server/middleware in the first place due to network failure at the client side. -
3. Re: JMS client: message persistent and resending
deanhiller2000 Jul 8, 2010 5:00 PM (in response to wonglh)I would very much like to know the answer here too. I inherited some code that literally writes out the messages to a file on failure and resends when next message goes out if it can. I have the following settings on the client side...
initialContextFactory=org.jnp.interfaces.NamingContextFactory
connectionFactory=ClusteredConnectionFactory
#connectionFactory=ConnectionFactory
providerUrl=jnp://coappcl3n1:1099
#providerUrl=jnp://coatatest02:1099
queueName=queue/tpv.emailNotification.entryQueueand it is a clustered jboss on the remote side. If our remote side goes down, the messages are not resent . How do we tweak a setting so I can get rid of this code that persists and resends so that JBossMQ does the work for me?
thanks,
Dean