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 » IBM MQ API Support » MQ Triggering and Lotus Notes

Post new topic  Reply to topic
 MQ Triggering and Lotus Notes « View previous topic :: View next topic » 
Author Message
sr2
PostPosted: Fri Jun 09, 2006 1:15 am    Post subject: MQ Triggering and Lotus Notes Reply with quote

Newbie

Joined: 09 Jun 2006
Posts: 5

Hi all

I'm new to these forums so apologise if this request is in the wrong forum.

Basically I have been tasked to find out how I can trigger a Lotus Notes agent from an MQ Server. The idea is that when a particular queue reaches a defined depth it should call a Lotus Notes agent to fire of an email to support. I'm ok with Lotus Notes but know little about MQ. Basically I've been dumped in it and need to find a solution by the end of the day as my company wants to implement something by Monday. Any help would be greatly appreacited. Obviously I will continue to search the internet myself.

- Lotus Notes version 5
- MQ version 5.3.0 on UNIX/AIX

Thanks in advance for all the help.
Regards
SR2
Back to top
View user's profile Send private message
wschutz
PostPosted: Fri Jun 09, 2006 1:28 am    Post subject: Reply with quote

Jedi Knight

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

There's the ever popular MA7K supportpac:

http://www-1.ibm.com/support/docview.wss?rs=171&uid=swg24000149&loc=en_US&cs=utf-8&lang=en



oops.... sorry, just noticed you're on AIX... ma7k is for windows....
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
sr2
PostPosted: Fri Jun 09, 2006 1:39 am    Post subject: Reply with quote

Newbie

Joined: 09 Jun 2006
Posts: 5

Thanks anyway Wayne.

I found the MA7K and got all excited then realised that it was for Windows

Cheers
Back to top
View user's profile Send private message
elvis_gn
PostPosted: Fri Jun 09, 2006 1:47 am    Post subject: Reply with quote

Padawan

Joined: 08 Oct 2004
Posts: 1905
Location: Dubai

Hi sr2,

Ya perhaps you are right...but I guess he put the basic idea through to you also with that...

Run a Java/C triggered program on the depth of the queue and use the sendmail APIs to send a mail.

Regards.
Back to top
View user's profile Send private message Send e-mail
sr2
PostPosted: Fri Jun 09, 2006 2:24 am    Post subject: Reply with quote

Newbie

Joined: 09 Jun 2006
Posts: 5

Thanks for the reply elvis_gn

Unfortunately I am not a java/c developer. Is there a simpler way? Would it be possible for you or anyone else to give me a quick overview of how to setup the MQ side and how I get the connection to Lotus Notes?

I apologise if my question is vague or stupid, but like I said I am a newbie to MQ.

I will quickly go over my understanding which may be totally wrong.

I can setup a local queue on MQ with a trigger on a defined depth. The trigger can call an INITQ which has a process defined.

In the process I can define a program to execute.

This is very high level...i need to fill in the details.

One of the things I would like to know is if I can call the lotus executable to kick off an agent?

Thanks again
SR2
Back to top
View user's profile Send private message
wschutz
PostPosted: Fri Jun 09, 2006 2:31 am    Post subject: Reply with quote

Jedi Knight

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

You need to find a program that can run a notes agent from outside of notes. its fairly easy to use the NotesAPI library to do this, and in fact MA7K calls the notesAPI library to start an agent (in windows, of course). Gotta run for a train now, but perhaps a goodle search?
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
zpat
PostPosted: Fri Jun 09, 2006 2:37 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

It might be easier to install a Notes/Domino server on a Windows platform (with MQ client installed) and use MA7K to run a Lotuscript agent.

We use MQ/Notes extensively in this way and we read the actual MQ message using the MQLSX.

You might be able to do this with a Notes client install (and MQ client) on Windows and MA7K.

However this degree of Notes/MQ integration is not necessary for simple depth alerting.

Just trigger a program (or even a script) that sends an email - there are many examples of free programs/scripts that send Email by SMTP/POP or IMAP, both of which are supported by Domino servers.

This program does not have to run on the actual Domino server or MQ server (but it could for convenience do so).


Last edited by zpat on Fri Jun 09, 2006 6:57 am; edited 1 time in total
Back to top
View user's profile Send private message
elvis_gn
PostPosted: Fri Jun 09, 2006 2:38 am    Post subject: Reply with quote

Padawan

Joined: 08 Oct 2004
Posts: 1905
Location: Dubai

Hi sr2,

When u say that u want to open a Lotus Notes agent, i get a feeling that u need to send a mail to someone...do u want the user to type a custom mail or a default text to be sent to someone on the queue depth being reached....i ask this as, if you simply want some text sent, then u don't need the Lotus notes, u can forget that a shoot a mail to whichever mail id u want and can connect to(mail server i mean).

Ur understanding of trigerring seems to be ok, and u'll find the sample send mail code on google.....a mix and merge should work for you.

Regards.
Back to top
View user's profile Send private message Send e-mail
sr2
PostPosted: Fri Jun 09, 2006 3:07 am    Post subject: Reply with quote

Newbie

Joined: 09 Jun 2006
Posts: 5

Thanks for all your replies.

For now I suppose we can get away with just sending out an email rather than triggering a Lotus Notes agent (we will probably need this in future but i will look into that we need to).

So basically my understanding from your replies is this. I want an email sent to a group of people (notes group) when a queue hits a defnied depth. So I can setup my queues as above and trigger a program to send an email.

The next question is how do I set this all up on AIX? What programs can I use (my understanding on IAX is very limited)? Also do I have to have an INITQ? Can't I just call a process?

As you can tell from above I have been handed this task and have very little knowledge of the technologies involved

Thanks again
SR2
Back to top
View user's profile Send private message
elvis_gn
PostPosted: Fri Jun 09, 2006 3:36 am    Post subject: Reply with quote

Padawan

Joined: 08 Oct 2004
Posts: 1905
Location: Dubai

Hi sr2,

Quote:
The next question is how do I set this all up on AIX? What programs can I use (my understanding on IAX is very limited)?

Any simple Java class can be placed in some directory...and the path can be defined in the MQ processes...Ofcourse, u will have to make a *.bat or *.xe or something to execute the class.

Quote:
Also do I have to have an INITQ? Can't I just call a process?

No, u need the intiation queue, the trigger monitor will run on the initiation queue and not on the trigger queue...the initiation queue will get a message which will tell the monitor which process to call...

Start with your java code...u will get it on google...use it...setting up triggering is not too difficult.

Regards.
Back to top
View user's profile Send private message Send e-mail
jefflowrey
PostPosted: Sat Jun 10, 2006 5:15 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

elvis_gn wrote:
Ofcourse, u will have to make a *.bat or *.xe or something to execute the class.

Not on AIX, or any unix, or any platform other than Windows, really.

".sh", mostly.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
elvis_gn
PostPosted: Sat Jun 10, 2006 9:29 pm    Post subject: Reply with quote

Padawan

Joined: 08 Oct 2004
Posts: 1905
Location: Dubai

Hi,
jefflowrey wrote:
elvis_gn wrote:
Ofcourse, u will have to make a *.bat or *.xe or something to execute the class.

Not on AIX, or any unix, or any platform other than Windows, really.

".sh", mostly.


Aaahhh !! forgot that... not much of a Unix guy will remember this one.

Regards.
Back to top
View user's profile Send private message Send e-mail
sandiksk
PostPosted: Mon Jun 12, 2006 6:14 am    Post subject: Reply with quote

Centurion

Joined: 08 Jun 2005
Posts: 133

May be this could help

http://www.mqseries.net/phpBB2/viewtopic.php?t=5978
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 » IBM MQ API Support » MQ Triggering and Lotus Notes
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.