RE: tomcat and JMS
Stas, The original link gave a 404 error, but there is this article on the OnJava site that may shed a little more light for you. http://www.onjava.com/pub/a/onjava/2001/12/12/openjms.html I hope this helps. Regards Jason -- Jason Bell Lead Architect, SpikeSource Europe e: [EMAIL PROTECTED] w: http://www.spikesource.com b: http://jasonbell.blog-city.com m: +44 (0)787 529 2693 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: tomcat and JMS
Hi ! Thanks for your resnonce. I saw that article at ONJava.com. They use standalone openJMS server. I'm interested in embedded. Broken link ? Maybe... However, it's not much info there. Overview The Embedded connector enables OpenJMS clients to connect to an embedded OpenJMS server, i.e. a server running in the same JVM as the clients. This avoids the overhead of network serialization. Using the Embedded Connector To connect to an embedded OpenJMS server, construct an InitialContext as follows: Hashtable properties = new Hashtable(); properties.put(Context.INITIAL_CONTEXT_FACTORY, org.exolab.jms.jndi.InitialContextFactory); properties.put(Context.PROVIDER_URL, embedded://); Context context = new InitialContext(properties); Strange, but I can't find any info about integrating into tomcat. On 9/22/05, Jason Bell [EMAIL PROTECTED] wrote: Stas, The original link gave a 404 error, but there is this article on the OnJava site that may shed a little more light for you. http://www.onjava.com/pub/a/onjava/2001/12/12/openjms.html I hope this helps. Regards Jason -- Jason Bell Lead Architect, SpikeSource Europe e: [EMAIL PROTECTED] w: http://www.spikesource.com b: http://jasonbell.blog-city.com m: +44 (0)787 529 2693 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: tomcat and JMS
Hi ! Thanks for your resnonce. I saw that article at ONJava.com. They use standalone openJMS server. I'm interested in embedded. I was Googling around, I have to admit, as I found your posting very interesting. I've downloaded OpenJMS and will try and have a play when I have half an hour to do so. Not too sure when that will happen, possibly over the weekend. Kind regards Jason -- Jason Bell Lead Architect, SpikeSource Europe e: [EMAIL PROTECTED] w: http://www.spikesource.com b: http://jasonbell.blog-city.com m: +44 (0)787 529 2693 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: tomcat and JMS
Try something like: try { EmbeddedJmsServer server = new EmbeddedJmsServer(config); Thread serverThread = new Thread( server ); server.init(); serverThread.start(); } catch (Throwable e) { // do nothing e.printStackTrace(); } On 9/22/05 9:28 AM, Jason Bell [EMAIL PROTECTED] wrote: Hi ! Thanks for your resnonce. I saw that article at ONJava.com. They use standalone openJMS server. I'm interested in embedded. I was Googling around, I have to admit, as I found your posting very interesting. I've downloaded OpenJMS and will try and have a play when I have half an hour to do so. Not too sure when that will happen, possibly over the weekend. Kind regards Jason -- Jason Bell Lead Architect, SpikeSource Europe e: [EMAIL PROTECTED] w: http://www.spikesource.com b: http://jasonbell.blog-city.com m: +44 (0)787 529 2693 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Dov Rosenberg Conviveon/Inquira Knowledge Management Experts http://www.conviveon.com http://www.inquira.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]