Can we configure Receiving Application for JMS an SMTP server

2010-03-15 Thread sand...@i2it

Hello,
I want to send e-mails to new user registered on my website. I want 100%
mail delivery, i don't have control over my smtp server. Right now my
program is directly sending message to smtp server  but if that smtp server
is down then my application wil not able to send mail. What i now want is My
application will feed all mails as messages to a JMS queue then jms forward
all those messages to my mail server if it is up otherwise it will store my
messages until my smtp server ups.
-- 
View this message in context: 
http://old.nabble.com/Can-we-configure-Receiving-Application-for-JMS-an-SMTP-server-tp27912928p27912928.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.



In JMS can we have multiple senders and single receiver

2010-03-18 Thread sand...@i2it

Hello All,
   In my application i have two types of user A & B. Now what i want to
alert the user B whenever A performs some action through mail. So for 100%
delivery of  messages i am using JMS ActiveMQ. My Requirement is before
directly sending request to mail server first i want to check whether it is
up&running or not, If it is running then only send mails otherwise Queue
those messages in JMS later when server up's then collect those messages
from JMS Queue and send them to mail server.  
  I m doing it in follwing way

1-> My Action will send message to a queue 
2-> A consumer Action is listning to that queue.
3-> Consumer first chks whether the smtp server is up or not.
4-> If it is up then it receives messages and sends it.
5-> if smtp is not up it does nothing.

What i am missing ?

Through queue i m able to send a single message only, but i want multiple
messages to be sent

How to resume consumer program when smtp server ups?
-- 
View this message in context: 
http://old.nabble.com/In-JMS-can-we-have-multiple-senders-and-single-receiver-tp27943781p27943781.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.



JMS Receiving Messages Conditionally

2010-03-20 Thread sand...@i2it

Hello All,

In my JMS application i want to receive messages from a queue only if
particular condition is true. otherwise wait until that condition becomes
true. A sender can send multiple messages within that timespan, the JMS
should store all those messages and forward them to receiver application
only if particular condition is true.
-- 
View this message in context: 
http://old.nabble.com/JMS-Receiving-Messages-Conditionally-tp2797p2797.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.



Re: JMS Receiving Messages Conditionally

2010-03-20 Thread sand...@i2it


thanks but i want to receive those messages also whose condition will be
true after some time. Actually i want to send e-mails so before sending
request to directly SMTP server i m sending all my mails as Message to a
queue then in background i m checking for SMTP server status and according
to that i m returning the status. Now this status i want to use to receive
the messages on consumer side. 
   Finally i want 100% mail delivery in my application. 
-- 
View this message in context: 
http://old.nabble.com/JMS-Receiving-Messages-Conditionally-tp2797p27973814.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.