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 » AMI and Unidata

Post new topic  Reply to topic
 AMI and Unidata « View previous topic :: View next topic » 
Author Message
sdrazi
PostPosted: Thu May 10, 2007 11:58 am    Post subject: AMI and Unidata Reply with quote

Apprentice

Joined: 17 Apr 2007
Posts: 34

Hi All,

I am a complete newbie to API's in MQ and have some experience in MQ administration.

We are trying to use AMI for the Unidata application in our company to connect to MQ. This is on an AIX box. We installed the ma0f support pac and ran the amtsdfts.tst script. We tried running the sample programs for unidata and they seem to be working well now (after some effort though).
Here is my question:
How do we write explicit policies and service rules that have the queue name to which the message is to be written? The amthost.xml file in the /usr/mqm/amt directory contains the queue manager to which the AMI connects but where and how do we specify the queue names to which the application writes messages? The code in the manual (sample program I was talking about earlier) shows a routine for sending a message but does not show which queue the message is being sent to.
Is there some scripting/ programming that is to be done for this?

Please forgive me if the question is way to vague and let me know needs further detail.
I have been reading the forums that AMI is not recommended for use. But this is the option we know of in Unidata...Any suggestions are welcome...

Thanks in advance for the help rendered...We really need to get this thing moving ....
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Thu May 10, 2007 12:12 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

AMI is the precursor of JMS. IIRC AMI is no longer supported...
Don't know what platform your Unidata app is using and you did not specify (WAS, J2EE etc...)

My advice would be to use JMS...

Enjoy
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
sdrazi
PostPosted: Thu May 10, 2007 12:23 pm    Post subject: Reply with quote

Apprentice

Joined: 17 Apr 2007
Posts: 34

Thanks... but I guess this needs some java programming experience....not sure we have some one though...

Any help on the AMI stuff ??
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Thu May 10, 2007 12:40 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

sdrazi wrote:
Thanks... but I guess this needs some java programming experience....not sure we have some one though...

Any help on the AMI stuff ??

Not necessarily you could try the XMS (JMS for non java languages) interface... (see support packs search under messaging service)
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Vitor
PostPosted: Thu May 10, 2007 3:10 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

sdrazi wrote:
Any help on the AMI stuff ??


Don't use this for new development. That's not just me saying it, it's an official recommendation from IBM you'll find on the website.

Use XMS for new non-Java development if you feel you need a wrapper round the base API. Not only is it still supported, it's much better than AMI was.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
sdrazi
PostPosted: Fri May 11, 2007 6:56 am    Post subject: Reply with quote

Apprentice

Joined: 17 Apr 2007
Posts: 34

Is there a detail help with samples available on how I would implement XMS around Unidata which is on an AIX box?
I know I am getting a bit too specific but I need some solid solution for me to suggest to my boss that AMI is not recommended and XMS is recommended and this is the documentation and samples that would help us acheive the XMS implementation.
This is the first time MQ is being used in our company and we also need to size up the effort for the implementaion of this API around Unidata...

Thanks and I really appreciate everyones help in this matter...
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Fri May 11, 2007 7:18 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

You'll have better luck getting help with implementing XMS. I don't know of anyone - except maybe some of the people at Hursley - who know AMI at all.

One of the reasons IBM dropped support for AMI is that nobody else really adopted it.

I don't know that anyone has done XMS with Unidata, either - but then again I've never heard of Unidata before so that doesn't mean much.

There used to be a page somewhere that directly addressed that support for AMI was being withdrawn. I don't remember where, but searching IBM's website for AMI might help.

And XMS is a Cat 3 support pack, so it's supported under the same terms as the product.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri May 11, 2007 9:31 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

sdrazi wrote:
I know I am getting a bit too specific but I need some solid solution for me to suggest to my boss that AMI is not recommended and XMS is recommended


From the IBM website page "MA0F - : WebSphere MQ Application Messaging Interface (AMI)"

Quote:
IMPORTANT NOTE
After June 2003, IBM has no plans to enhance the AMI with any new functions or platforms. IBM will however continue to support the AMI as described in the Technical Support sectioin below.

We would recommend that customers do not use the AMI for any new projects and do not extend usage in existing projects.


You can find this for yourself at the MA0F page:

http://www-1.ibm.com/support/docview.wss?uid=swg24000641

You might also find value at:

http://www-128.ibm.com/developerworks/websphere/library/techarticles/0509_phillips/0509_phillips.html
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
sdrazi
PostPosted: Mon May 21, 2007 9:22 am    Post subject: Reply with quote

Apprentice

Joined: 17 Apr 2007
Posts: 34

IBM did provide us useful support information and we are now able to understand how the AMI works with Unidata.

According to IBM "Unidata is part of the Information Management brand and the MQ connectivity that the product implements and ships leverages the AMI"
http://www-1.ibm.com/support/docview.wss?rs=171&uid=swg24000641&loc=en_US&cs=utf-8&lang=en

So there is good support available for AMI with Unidata.

To make things a bit clear in the above document...policies and services can be created using the windows AMI administration tool and the AMI repository file amt.xml can be ported to the default location (usr/mqm/amt on AIX in my case).

Thanks
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 » AMI and Unidata
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.