-
1. Re: COM client?
nphelps Oct 17, 2001 12:23 AM (in response to franktv)See Active JMS at http://active-jms.sourceforge.net
-
2. Re: COM client?
pra Oct 17, 2001 7:41 AM (in response to franktv)It would be greate if someone here could get that to work for JBossMQ or at least report back why it does not work.
//Peter -
3. Re: COM client?
nphelps Oct 17, 2001 3:57 PM (in response to franktv)As the developer on Active JMS I can speak to that... I tried to get it up and running with JBossMQ, but I had the hardest time getting JBossMQ built and running. I thought I was a smart guy too. After finally getting it built, I couldn’t find enough documentation to figure out what the JNDI properties should be, so I chalked it up to product immaturity and gave up.
I'm preparing for the 1.0 release of Active JMS, and I'd like to have JBossMQ on the list. I'm planning on trying again, hopefully with better luck this time. -
4. Re: COM client?
pra Oct 17, 2001 4:14 PM (in response to franktv)Hi, interesting work you are doing. I do not use Windows myself, so I can't test it.
First: use a JBoss dist: JBossMQ is allways there and allways work.
Second: I think JMS in JBoss is now pretty well documented in the JBoss manual (hey I wrote it ;-))
Third: If it don't work, pleas ask.
//Peter -
5. Re: COM client?
nphelps Oct 18, 2001 1:10 AM (in response to franktv)Well since you asked...
Things look much better today then they did back in July when I first tried this with JBossMQ! Here is the first problem I've run into. Active JMS is reporting a NameNotFoundException because it cannot find testQueue (the exact exception is testQueue is not bound. I also tried A, and B etc. as they seemed to be defined in the jboss.jcml file. Additionally, what jar files are required to access just JBossMQ?
Here are the properties I'm using:
java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
java.naming.provider.url=localhost:1099
java.naming.factory.url.pkgs=org.jboss.naming
I looking up QueueConnectionFactory as my ConnectionFactory
Thanks for your help! -
6. Re: COM client?
pra Oct 18, 2001 2:59 AM (in response to franktv)Hi, pleas take a couple of minutes and read the manual chapter on JMS.
http://www.jboss.org/documentation/HTML/ch08.html
Here you will find all your possible settings:
http://www.jboss.org/documentation/HTML/ch08s07.html
Basically:
JNDI for testQueue: "queue/testQueue"
JNDI for a Topic/QueueConnectionFactpory: "ConnectionFactory".
Jars (2.4.1):
client/jbossmq-client.jar
client/jnp-client.jar
client/jta-spec1_0_1.jar
client/jboss-j2ee.jar
lib/ext/oswego-concurrent.jar
client/log4j.jar]
God luck.
//Peter -
7. Re: COM client?
nphelps Oct 18, 2001 11:20 PM (in response to franktv)Good deal! JBossMQ will be supported for the 1.0 release of Active JMS. I have successfully tested it, and all works well.
-
8. Re: COM client?
pra Oct 19, 2001 3:18 AM (in response to franktv)Great! That basically mean that you can send and subsribe to JBossMQ from a windows non java environment, as ASP for example?
//Peter -
9. Re: COM client?
nphelps Oct 19, 2001 11:28 AM (in response to franktv)Yes, that is correct... ASP, Visual Basic, C++, Powerbuilder, Delphi, Active Scripting languages, Python... any Win32 environment that supports COM.