Hi, So, you are in a Ford dealership wanting to buy a Mustang but saying you want the features and color of a Corvette!?!?!
Now maybe your boss is Bill Gates but seriously, if you want J2EE features then why don't you just use Java? It can't be a cost issue. You can get almost everything for free. - Eclipse IDE for Java developement - FREE - Java JDK v5.0 - FREE - Java J2EE v1.4 - FREE - JBoss (now certified for J2EE) - FREE - WMQ Server - pony up some money to IBM. Regards, Roger Lacroix Capitalware Inc. http://www.capitalware.biz Quoting mqteam <[EMAIL PROTECTED]>: > Sid/Roger, > > > > The reason I want to use JMS rather then the MQ.NET API is because lets face > it, the .NET API is far from being really object-oriented, it very much like > coding procedural using an OO language. Now that would fine if we were > writing VB code, but we have a lot of Java know-how and we would like to > have the same in .NET be it design patterns and methodologies or just code > samples for handling messages we rather recode then redesign and rethink. > > > > Just think about the added value given by using JNDI and abstraction of > publish and subscribe to common queuing. > > > > Roger thanks for the link, but we have already have a message type we use > that inherent the MQMessage and expands it to include the JMS headers. > > > > What we are looking for is a way to code this: > > > public static void main(String[] args) { > String destName = null; > String destType = null; > Context jndiContext = null; > ConnectionFactory connectionFactory = null; > Connection connection = null; > Session session = null; > Destination dest = null; > MessageConsumer consumer = null; > TextMessage message = null; > > connectionFactory = (ConnectionFactory) > jndiContext.lookup("jms/QueueConnectionFactory"); > connection = connectionFactory.createConnection(); > session = connection.createSession(false, > Session.AUTO_ACKNOWLEDGE); > consumer = session.createConsumer(dest); > connection.start(); > > Message m = consumer.receive(1); > And so on > > Cheers > TIA > Didi > > > > > > > ----- Original Message ----- > From: <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Wednesday, November 24, 2004 11:59 PM > Subject: Re: Implementing JMS form C# > > > > The .net environment supports MSMQ only (AFAI), I don't think there is any > > kind of JMS bridge built in. > > > > If your using c# why not use IBM .NET support ?? Why JMS ?? > > > > Sid > > > > > > > > > > -----Original Message----- > > From: mqteam [mailto:[EMAIL PROTECTED] > > Sent: Wednesday, 24 November 2004 22:42 > > To: [EMAIL PROTECTED] > > Subject: Implementing JMS form C# > > > > Hello All, > > > > > > > > I would like to know if there are any JMS implementations in C#, > > > > Meaning can I write code like this in C#: > > > > > > > > > > > > Using XXX.JMS > > > > > > > > Namespace mynamespace { > > > > > > > > Class myclass { > > > > > > > > Void static main .. > > > > > > > > ConnectionFactory qcf; > > > > Connection Conn; > > > > Session Sess ; > > > > > > > > Conn = qcf.createconnection() .. > > > > > > > > And so on and so forth, > > > > Do you know of any product like this, better yet an open source is better. > > > > Best option will include an MDB and support for MQSeries built in, but > this > > is a little to much to expect. > > > > > > > > The reason I need it is to form a common methodology on messaging from > .NET > > and J2EE. > > > > > > > > Cheers > > > > Didi > > > > Instructions for managing your mailing list subscription are provided in > > the Listserv General Users Guide available at http://www.lsoft.com > > Archive: http://vm.akh-wien.ac.at/MQSeries.archive > > > > Instructions for managing your mailing list subscription are provided in > > the Listserv General Users Guide available at http://www.lsoft.com > > Archive: http://vm.akh-wien.ac.at/MQSeries.archive > > Instructions for managing your mailing list subscription are provided in > the Listserv General Users Guide available at http://www.lsoft.com > Archive: http://vm.akh-wien.ac.at/MQSeries.archive > Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive
