ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Triggering a message flow through a email

Post new topic  Reply to topic
 Triggering a message flow through a email « View previous topic :: View next topic » 
Author Message
WBISurvivor
PostPosted: Wed Jul 26, 2006 7:49 am    Post subject: Triggering a message flow through a email Reply with quote

Novice

Joined: 22 May 2006
Posts: 17

I was wondering if there is a wy to trigger a message flow upon receival of an email message? Has anyone tried doing it.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Jul 26, 2006 8:08 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

You will need a custom Input plugin node that can either recieve messages using POP3 or IMAP. For example, you could write one using Java and the JavaMail API.

Or you will need a program that can read email using POP3 or IMAP and put messages onto a queue, or forward messages over HTTP or etc.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Hassan
PostPosted: Wed Jul 26, 2006 8:18 am    Post subject: Reply with quote

Voyager

Joined: 01 Apr 2004
Posts: 81
Location: Toronto, Canada

You may have an easier workaround if you think outside the MQ/box.
On Windows, if you use Outlook you can create a rule to start an application to "start the message flow" (put a message onto a queue which is being trigger monitored). You windows can be an MQ client or can be running the Queue Manager itself.

Cheers!!!!
Back to top
View user's profile Send private message
WBISurvivor
PostPosted: Wed Jul 26, 2006 8:32 am    Post subject: Reply with quote

Novice

Joined: 22 May 2006
Posts: 17

Hassan wrote:
You may have an easier workaround if you think outside the MQ/box.
On Windows, if you use Outlook you can create a rule to start an application to "start the message flow" (put a message onto a queue which is being trigger monitored). You windows can be an MQ client or can be running the Queue Manager itself.

Cheers!!!!


sounds interesting!!! But how can I configure the outlook to put a message on to a queue upon receiving the email? Thanks
Back to top
View user's profile Send private message
wschutz
PostPosted: Wed Jul 26, 2006 8:38 am    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

Hassan wrote:
You may have an easier workaround if you think outside the MQ/box.
On Windows, if you use Outlook you can create a rule to start an application to "start the message flow" (put a message onto a queue which is being trigger monitored). You windows can be an MQ client or can be running the Queue Manager itself.

Cheers!!!!
Assuming that WBISurvivor want to process the e-mail body in the message flow, how does the Outlook started application access the e-mail contents?
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
elvis_gn
PostPosted: Wed Jul 26, 2006 9:32 pm    Post subject: Reply with quote

Padawan

Joined: 08 Oct 2004
Posts: 1905
Location: Dubai

Hi WBISurvivor,

Use Java Mail API

This seems like a good plugin to work on....but what could be the business use ?

I don't see many clients trying to trigger anything using mails....it would not be foolproof....why would u want the administrator trigger something using a mail rather than a custom Administrator GUI tool for message put/get etc....

Send Mail atleast provided notification on a failure....

Regards.
Back to top
View user's profile Send private message Send e-mail
Hassan
PostPosted: Thu Jul 27, 2006 6:25 am    Post subject: Reply with quote

Voyager

Joined: 01 Apr 2004
Posts: 81
Location: Toronto, Canada

You can define rules for incoming emails in Outlook. These can be based on a word in the body of the email, subject line, sender, etc. etc.

It is not Outlook that is putting a message on any queues, etc. Outlook is only used to start an application (can be a batch file or anything else that you may develop). It is this application which does the actual "puts". You can have whatever application logic that you want, as an example this application puts a particular message onto a queue and then ends till it is executed again on arrival of another email, OR if the types of emails are limited say 4-6, then you can have 4-6 corresponding apps/programs which get executed for these specific emails and each app/prog. puts a different msg onto the queue, etc. etc. (app/prog logic would depend on your specific requirements).

My suggestions are not based on any assumptions, just what was stated as a requirement. I think this is simple enough to work but off course there can always be more bells and whistles ........
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Triggering a message flow through a email
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.