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 » .NET and Websphere MQ V5.3

Post new topic  Reply to topic Goto page 1, 2  Next
 .NET and Websphere MQ V5.3 « View previous topic :: View next topic » 
Author Message
analystLondon
PostPosted: Tue Apr 01, 2008 2:56 am    Post subject: .NET and Websphere MQ V5.3 Reply with quote

Novice

Joined: 01 Apr 2008
Posts: 10

Hello Everyone,

I’ve recently started working on developing a .NET application to communicate with MQs. The forum has been very useful giving the starting point as I’m very new to all this.

I wanted to ask that does Version 5.3 contains all the drivers required to build a queue connection on a remote machine and post messages using .NET or do I need to upgrade to version 6 to implement that.


And If I can use version 5.3 can I just embed the required dlls into my application and use a Managed connection?

Any help is very much appreciated.
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Apr 01, 2008 2:59 am    Post subject: Re: .NET and Websphere MQ V5.3 Reply with quote

Grand High Poobah

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

analystLondon wrote:
I wanted to ask that does Version 5.3 contains all the drivers required to build a queue connection on a remote machine and post messages using .NET or do I need to upgrade to version 6 to implement that.


You'll need a client install, and you need to upgrade. Version 5.3 is out of support.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Tue Apr 01, 2008 4:07 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Right. You can't use v5.3 for this, at all.

Even if you have documentation that says you can.

Use v6.

Embed the dlls and use a managed connection only if you have an absolute requirement to minimize your product install footprint AND the capacity to rebuild and re-update and re-distribute your application every six months after applying MQ maintenance to those dlls.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
analystLondon
PostPosted: Tue Apr 01, 2008 5:06 am    Post subject: Reply with quote

Novice

Joined: 01 Apr 2008
Posts: 10

Thanks for the replies guys.

So, as I gather from your comments I do need V6. Will the whole thing work just by installing the standard edition of Client which can be downloaded free from ibm website?
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Apr 01, 2008 5:11 am    Post subject: Reply with quote

Grand High Poobah

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

analystLondon wrote:
Will the whole thing work just by installing the standard edition of Client which can be downloaded free from ibm website?


Yes. I fully agree with the comments of jefflowrey regarding managed connections.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Tue Apr 01, 2008 5:15 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Yes, one option for distributing your application is to have the end-user download and install the MQ client from IBM's website.

Of course, there must be a queue manager somewhere for that client to connect to.

Whether or not you use a managed connection, your app has a dependency on WebSphere MQ, and you need to manage that dependency the same way you'd manage a dependency on a database or any other kind of external resource. You need to code your app to be aware of PATH issues, and document how to overcome those for your end-users - if you don't bundle the dlls.

You can look at using XMS inside your application, instead of the plain MQ .NET API. This would allow you to manage your MQ dependency in the same way that a JMS system manages it. This may make your setup more complicated or more simple.

If you do use a managed connection, I said you should update the MQ dlls every six months... in an enterprise, this is a reasonable thing. If your app is being distributed a little more widely, or in a less managed way than we expect in an enterprise... then you should plan on updating the MQ dlls in your app every time you make a major release of your app.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Apr 01, 2008 5:20 am    Post subject: Reply with quote

Grand High Poobah

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

jefflowrey wrote:
Of course, there must be a queue manager somewhere for that client to connect to.




Probably should have highlighted that!
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
analystLondon
PostPosted: Tue Apr 01, 2008 5:23 am    Post subject: Reply with quote

Novice

Joined: 01 Apr 2008
Posts: 10

The application will be deployed on a single machine and it will send messages to Queue on a different machine.

I'm first trying to get this to work on my machine by installing the client and if all is good then I can deploy that on the other box.

After installing the MQ Client, correct me if I'm wrong here I need to add references to all the appropriate dlls in my project and also update those dlls periodically once its being deployed?

I think doing that every 6 months is no issue.

The standard edition does not provide Queue Manager, I guess this will not be an issue in my case as I'm connecting to Queue on a remote machine??

Thanks for the replies guys its very useful.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Tue Apr 01, 2008 5:25 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

If you're using a standard MQ client install, just apply the FixPack for MQ every six months. That will update the DLLs and etc.

Otherwise, the instructions in the Using .Net manual (that you must have already found, since you ask about managed connections) should cover how to set up your project to build your app to link against the client libraries.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Apr 01, 2008 5:26 am    Post subject: Reply with quote

Grand High Poobah

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

analystLondon wrote:
The standard edition does not provide Queue Manager, I guess this will not be an issue in my case as I'm connecting to Queue on a remote machine??


There are 2 distinct products - client & server. Client is a free download that does not provide queue manager functionality, server is a licensed purchase that does.

And no, if there's a licensed server install on the remote machine running a queue manager you're fine.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Apr 01, 2008 5:29 am    Post subject: Reply with quote

Grand High Poobah

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

analystLondon wrote:
After installing the MQ Client, correct me if I'm wrong here I need to add references to all the appropriate dlls in my project and also update those dlls periodically once its being deployed?


If you're using a managed connection then the .Net manual will explain what needs to be done.

There are good, opperational & design reasons why you wouldn't want to do that, and use a standard client set up with your application. One of the benefits, but not the only one, is that it allows the client to be updated without changing your application.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
analystLondon
PostPosted: Tue Apr 01, 2008 5:29 am    Post subject: Reply with quote

Novice

Joined: 01 Apr 2008
Posts: 10

And as I gonna install the MQ client, I can use ClientConnection instead of ManagedConnection?
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Apr 01, 2008 5:32 am    Post subject: Reply with quote

Grand High Poobah

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

analystLondon wrote:
And as I gonna install the MQ client, I can use ClientConnection instead of ManagedConnection?


With the client installed on the machine running the app, you have access to all the various forms of client connection, as described in the Using .NET & Client manuals.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
analystLondon
PostPosted: Tue Apr 01, 2008 5:40 am    Post subject: Reply with quote

Novice

Joined: 01 Apr 2008
Posts: 10

Where do I get hold of all these manuals?
Are you referring to this:
http://publib.boulder.ibm.com/infocenter/wmqv6/v6r0/index.jsp?topic=/com.ibm.mq.csqzav.doc/csq87g1.htm
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Apr 01, 2008 7:00 am    Post subject: Reply with quote

Grand High Poobah

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

analystLondon wrote:
Are you referring to this:
http://publib.boulder.ibm.com/infocenter/wmqv6/v6r0/index.jsp?topic=/com.ibm.mq.csqzav.doc/csq87g1.htm


I am exactly refering to that.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page 1, 2  Next Page 1 of 2

MQSeries.net Forum Index » IBM MQ API Support » .NET and Websphere MQ V5.3
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.