Author |
Message
|
bhanukiran |
Posted: Wed Feb 04, 2009 1:28 pm Post subject: API can only contact smtp..... |
|
|
Novice
Joined: 23 Jan 2009 Posts: 10
|
Hi All
If we have an API that can only contact with smtp, is it possible to have the smtp send a mesage to a MQ's remote queue such that the same message is sent over to another MQ server.
??????
plz help
Thank you in advance. |
|
Back to top |
|
 |
Vitor |
Posted: Wed Feb 04, 2009 2:00 pm Post subject: Re: API can only contact smtp..... |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
bhanukiran wrote: |
If we have an API that can only contact with smtp, is it possible to have the smtp send a mesage to a MQ's remote queue such that the same message is sent over to another MQ server.
|
Queue managers don't speak smtp out of the box.
But if your API can speak smtp (i.e. has access to a network) it's a simple enough task to incorporate the MQI to connect (and put message) to a queue manager. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
bhanukiran |
Posted: Wed Feb 04, 2009 2:19 pm Post subject: |
|
|
Novice
Joined: 23 Jan 2009 Posts: 10
|
Thankx for the reply....
There seems to be to be a solution according to you..but can you plz be more clear , it is confusion to me, I am a newbie at this stuff.
thank you in advance |
|
Back to top |
|
 |
bhanukiran |
Posted: Wed Feb 04, 2009 2:23 pm Post subject: |
|
|
Novice
Joined: 23 Jan 2009 Posts: 10
|
Plz let me know if there is a document which will help me understand how to setup such an environment and configure MQI, so that i can actually test it
thank you. |
|
Back to top |
|
 |
gbaddeley |
Posted: Wed Feb 04, 2009 3:30 pm Post subject: |
|
|
 Jedi Knight
Joined: 25 Mar 2003 Posts: 2538 Location: Melbourne, Australia
|
MQ does not have any native support for SMTP. Vitor was suggesting that a program that uses SMTP could be modified to also use the MQ programming API (aka the MQI). The functionality (bridging? forwarding?) that you want to provide between SMTP and MQ is entirely up to you. _________________ Glenn |
|
Back to top |
|
 |
mqjeff |
Posted: Wed Feb 04, 2009 4:44 pm Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
To be very very clear.
There is nothing you can CONFIGURE to do this, unless you have a very fancy SMTP Server.
You must WRITE A PROGRAM to do this.
Or pay someone else to do it for you. |
|
Back to top |
|
 |
bhanukiran |
Posted: Thu Feb 05, 2009 6:58 am Post subject: |
|
|
Novice
Joined: 23 Jan 2009 Posts: 10
|
Can you suggest me anything about..going around this issue. What knowledge i should have to aproach the issue....
plz suggest. |
|
Back to top |
|
 |
Vitor |
Posted: Thu Feb 05, 2009 7:01 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
bhanukiran wrote: |
What knowledge i should have to aproach the issue.... |
You must know how to design and write code, or know how to find someone who can.
To the latter, I offer the forum's Job Postings section. Other means of locating WMQ professionals are available. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
bruce2359 |
Posted: Tue Feb 10, 2009 3:44 pm Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
WMQs API to deals with WMQ objects and messages.
SMTP has its own API. Do a search on Mr. Google for SMTP+API and you will find references and sample code.
You will need to write a program using whatever programming language both support. You will need to include in this program WMQs APIs to access WMQ resources (queue manager, messages and queues); and in the same program use SMTPs APIs access SMTP resources.
You will need to be conversant in both sets of APIs. Or hire someone who is.
Using multiple APIs in a single program is more common than you might think. Many programs use WMQ APIs and SQL calls, for example. _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. |
|
Back to top |
|
 |
|