From dev-return-7368-apmail-activemq-dev-archive=activemq.apache.org@activemq.apache.org Mon Jul 02 15:49:55 2007 Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 40774 invoked from network); 2 Jul 2007 15:49:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Jul 2007 15:49:54 -0000 Received: (qmail 8391 invoked by uid 500); 2 Jul 2007 15:49:56 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 8366 invoked by uid 500); 2 Jul 2007 15:49:56 -0000 Mailing-List: contact dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list dev@activemq.apache.org Received: (qmail 8357 invoked by uid 99); 2 Jul 2007 15:49:56 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Jul 2007 08:49:56 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Jul 2007 08:49:53 -0700 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1I5O9c-0007U3-IU for dev@activemq.apache.org; Mon, 02 Jul 2007 08:49:32 -0700 Message-ID: <11396368.post@talk.nabble.com> Date: Mon, 2 Jul 2007 08:49:32 -0700 (PDT) From: pcdev To: dev@activemq.apache.org Subject: Re: Newbie Need urgent VB.net help In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: paul@pcdevelopments.co.uk References: <11395888.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org Thanks for the quick reply James. OK first of all I know absolutely NOTHING about ActiveMQ and neither do the staff here, it was installed a while ago and they are nowhere to be found now. VB.net as it's my choice of programming language so thought I could write a service which would capture certain messages and place them into an SQL table on another server so our other applet could access it. I appreciate your help, but what you just said just went straight over my head - I am not a java programmer or Apache user just plain old VB / SQL / VB.net - sorry for being so thick. All i have is the demo downloaded from this site using VMware and told to extract the messages and stick into SQL for a specific project. regards Paul James.Strachan wrote: > > On 7/2/07, pcdev wrote: >> >> Greetings to you all. >> Last week I was given the task creating a VB.net program to read the >> messages out of Active MQ and place them in an SQL server database as >> their >> current ancient application cannot read/accept direct from the Active MQ. >> >> I have spent all week and weekend downloading various code etc etc and >> just >> cannot for the life of me get any of this code to work. >> Now i can program and have done this kind of thing before but having >> little >> knowlege of the ActiveMQ I am struggling even to make a connection to the >> ActiveMQ via vb.net >> >> Any help with a connection string or ODBC or similar would be gratefully >> appreciated before I get fired! > > Any particular reason, if you're going from ActiveMQ -> a database, > that this must be written in VB? > > e.g. its pretty easy to go from JMS -> a database using Camel... > http://activemq.apache.org/camel/enterprise-integration-patterns.html > > The Java code would look something like... > > from("activemq:someQueue").to("jpa:myEntity"); > > more details: > http://activemq.apache.org/camel/activemq.html > http://activemq.apache.org/camel/jpa.html > > you might wanna add a custom transform step in the middle to convert > the JMS message into a valid JPA POJO; for example if the JMS message > is a Text message or you want to convert from some artbirary POJO/Map > message to a JPA POJO for easy persistence > http://activemq.apache.org/camel/message-translator.html > > -- > James > ------- > http://macstrac.blogspot.com/ > > -- View this message in context: http://www.nabble.com/Newbie-Need-urgent-VB.net-help-tf4012875s2354.html#a11396368 Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.