Deal! take care and have good weekend as well...
--- Thank You… Mick Knutson, President BASE Logic, Inc. Enterprise Architecture, Design, Mentoring & Agile Consulting p. (866) BLiNC-411: (254-6241-1) f. (415) 685-4233 Website: http://baselogic.com Linked IN: http://linkedin.com/in/mickknutson Vacation Rental: http://tahoe.baselogic.com --- On Fri, Aug 28, 2009 at 9:03 AM, Claus Ibsen <claus.ib...@gmail.com> wrote: > Hi > > Great that its working and yeah just be glad that the you is really > starting to get the hang on it. > > Maybe even in the future you will contribute patches / documentations > / components etc. > > Take care and have a nice weekend. I am off for a football game. > > > > On Fri, Aug 28, 2009 at 5:58 PM, Mick Knutson<mknut...@baselogic.com> > wrote: > > Sorry Clause, I was unfamiliar with using id instead of name to create > the > > reference. That worked. I also had to go to each of the examples I had > used > > and wrapped each of them in a <camel:context> and everything is working > on > > that front. > > > > --- > > Thank You… > > > > Mick Knutson, President > > > > BASE Logic, Inc. > > Enterprise Architecture, Design, Mentoring & Agile Consulting > > p. (866) BLiNC-411: (254-6241-1) > > f. (415) 685-4233 > > > > Website: http://baselogic.com > > Linked IN: http://linkedin.com/in/mickknutson > > Vacation Rental: http://tahoe.baselogic.com > > --- > > > > > > > > On Thu, Aug 27, 2009 at 9:08 PM, Claus Ibsen <claus.ib...@gmail.com> > wrote: > > > >> On Fri, Aug 28, 2009 at 5:14 AM, Mick Knutson<mknut...@baselogic.com> > >> wrote: > >> > Thanks for the response, but I would like to ask how I would achieve > the > >> > following... I used the Audit example from the 2.0-M3 source, but now > the > >> > new xsd's don't work: > >> > > >> > > >> > <?xml version="1.0" encoding="UTF-8"?> > >> > <beans xmlns="http://www.springframework.org/schema/beans" > >> > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:aop=" > >> > http://www.springframework.org/schema/aop" > >> > xmlns:camel="http://camel.apache.org/schema/spring" xmlns:jms=" > >> > http://www.springframework.org/schema/jms" > >> > xsi:schemaLocation=" > >> > http://www.springframework.org/schema/beans > >> > http://www.springframework.org/schema/beans/spring-beans-2.5.xsd > >> > http://www.springframework.org/schema/aop > >> > http://www.springframework.org/schema/aop/spring-aop-2.5.xsd > >> > http://camel.apache.org/schema/spring > >> > http://camel.apache.org/schema/spring/camel-spring-2.0.0.xsd > >> > http://www.springframework.org/schema/jms > >> > http://www.springframework.org/schema/jms/spring-jms-2.5.xsd > >> > "> > >> > > >> > <bean id="test-client1" > >> > class="com.wiredducks.service.impl.StatusUpdateService" > >> > scope="prototype"> > >> > <property name="consumerId" value="1" /> > >> > <property name="tableId" value="1" /> > >> > </bean> > >> > > >> > <bean id="destinationResolver" > >> > class="com.wiredducks.service.TableDestinationResolver" > >> > scope="prototype"> > >> > </bean> > >> > > >> > <bean id="jmsContainer" > >> > > >> > > class="org.springframework.jms.listener.DefaultMessageListenerContainer"> > >> > <property name="connectionFactory" ref="connectionFactory" /> > >> > <property name="transactionManager" ref="transactionManager" /> > >> > <property name="destinationResolver" ref="destinationResolver" > /> > >> > <property name="destinationName" > >> > value="test-client1.destinationName" /> > >> > <property name="messageListener" ref="test-client1" /> > >> > </bean> > >> > > >> > <!-- Aspect that tracks all the invocations of the business service > >> --> > >> > <bean id="messageDrivenMockWiretapClient1" > >> > class="com.baselogic.test.MessageDrivenMockWiretap"> > >> > <property name="destinationEndpoint"> > >> > * <camel:endpoint uri="seda:resultClient1Seda" />* > >> > </property> > >> > </bean> > >> > > >> > <aop:config> > >> > <aop:pointcut id="onMessageCall" > expression="bean(test-client1)" > >> /> > >> > <aop:aspect id="aspectMessageDrivenMockWiretap" > >> > ref="messageDrivenMockWiretapClient1"> > >> > <aop:before method="tap" pointcut-ref="onMessageCall" /> > >> > </aop:aspect> > >> > </aop:config> > >> > > >> > > >> > </beans> > >> > > >> > > >> > and it seems that * <camel:endpoint uri="seda:resultClient1Seda" /> > *can > >> not > >> > be inside my <bean>. Or am I just not clear on how to make this bean > >> inside > >> > a <camel...> context? > >> > > >> > >> Yeah its you that are on the wrong path. Its how XML works. > >> > >> If you want to refer to something from a spring bean then use > >> > >> <property name="destinationEndpoint" ref="XXX"/> > >> > >> where XXX is a spring bean id. > >> > >> For a Camel endpoint then define the endpoint as > >> > >> <camel:endpoint uri="seda:foo" id="XXX"/> > >> > >> > >> <property name="destinationEndpoint"> > >> * <camel:endpoint uri="seda:resultClient1Seda" />* > >> </property> > >> > >> > > >> > --- > >> > Thank You… > >> > > >> > Mick Knutson, President > >> > > >> > BASE Logic, Inc. > >> > Enterprise Architecture, Design, Mentoring & Agile Consulting > >> > p. (866) BLiNC-411: (254-6241-1) > >> > f. (415) 685-4233 > >> > > >> > Website: http://baselogic.com > >> > Linked IN: http://linkedin.com/in/mickknutson > >> > Vacation Rental: http://tahoe.baselogic.com > >> > --- > >> > > >> > > >> > > >> > On Thu, Aug 27, 2009 at 8:00 PM, Willem Jiang <willem.ji...@gmail.com > >> >wrote: > >> > > >> >> Oh, you can't define the <camel:endpoint> out of the camelContext. > >> >> Since there could be more than one camel context in the application > >> context > >> >> configuration file. > >> >> > >> >> Please put the <camel:endpoint> inside the camelContext. > >> >> <camel:camelContext> > >> >> ... > >> >> <camel:endpoint/> > >> >> </camel:camelContext> > >> >> > >> >> Willem > >> >> > >> >> > >> >> > >> >> Mick Knutson wrote: > >> >> > >> >>> I changed my declaration to this, but this did not change: > >> >>> > >> >>> > >> >>> <?xml version="1.0" encoding="UTF-8"?> > >> >>> <beans xmlns="http://www.springframework.org/schema/beans" > >> >>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > >> >>> xmlns:aop="http://www.springframework.org/schema/aop" > >> >>> xmlns:camel="http://camel.apache.org/schema/spring" > >> >>> xsi:schemaLocation=" > >> >>> http://www.springframework.org/schema/beans > >> >>> http://www.springframework.org/schema/beans/spring-beans-2.5.xsd > >> >>> http://www.springframework.org/schema/aop > >> >>> http://www.springframework.org/schema/aop/spring-aop-2.5.xsd > >> >>> *http://camel.apache.org/schema/spring > >> >>> http://camel.apache.org/schema/spring/camel-spring-2.0.0.xsd"> > >> >>> * > >> >>> > >> >>> > >> >>> --- > >> >>> Thank You… > >> >>> > >> >>> Mick Knutson, President > >> >>> > >> >>> BASE Logic, Inc. > >> >>> Enterprise Architecture, Design, Mentoring & Agile Consulting > >> >>> p. (866) BLiNC-411: (254-6241-1) > >> >>> f. (415) 685-4233 > >> >>> > >> >>> Website: http://baselogic.com > >> >>> Linked IN: http://linkedin.com/in/mickknutson > >> >>> Vacation Rental: http://tahoe.baselogic.com > >> >>> --- > >> >>> > >> >>> > >> >>> > >> >>> On Thu, Aug 27, 2009 at 7:10 PM, Hadrian Zbarcea < > hzbar...@gmail.com> > >> >>> wrote: > >> >>> > >> >>> No, targetNamespace (s) are unchanged. For the spring one it is > still > >> >>>> xmlns:camel="http://camel.apache.org/schema/spring" see [1] > >> >>>> What I meant is that from http://camel.apache.org/schema you can > >> >>>> navigate > >> >>>> to the respective subdirs and find that the camel-*-2.0.0.xsd files > >> are > >> >>>> now > >> >>>> available online. > >> >>>> > >> >>>> Sorry for the confusion, > >> >>>> Hadrian > >> >>>> > >> >>>> [1] http://camel.apache.org/schema/spring/camel-spring-2.0.0.xsd > >> >>>> > >> >>>> > >> >>>> > >> >>>> > >> >>>> On Aug 27, 2009, at 9:58 PM, Mick Knutson wrote: > >> >>>> > >> >>>> My current one is : > >> >>>> > >> >>>>> xmlns:camel="http://camel.apache.org/schema/spring" > >> >>>>> > >> >>>>> do I change it to > >> >>>>> xmlns:camel="http://camel.apache.org/schema" > >> >>>>> > >> >>>>> ?? > >> >>>>> > >> >>>>> --- > >> >>>>> Thank You… > >> >>>>> > >> >>>>> Mick Knutson, President > >> >>>>> > >> >>>>> BASE Logic, Inc. > >> >>>>> Enterprise Architecture, Design, Mentoring & Agile Consulting > >> >>>>> p. (866) BLiNC-411: (254-6241-1) > >> >>>>> f. (415) 685-4233 > >> >>>>> > >> >>>>> Website: http://baselogic.com > >> >>>>> Linked IN: http://linkedin.com/in/mickknutson > >> >>>>> Vacation Rental: http://tahoe.baselogic.com > >> >>>>> --- > >> >>>>> > >> >>>>> > >> >>>>> > >> >>>>> On Thu, Aug 27, 2009 at 1:37 PM, Hadrian Zbarcea < > hzbar...@gmail.com > >> > > >> >>>>> wrote: > >> >>>>> > >> >>>>> The xsd files are available on the camel site: > >> >>>>> > >> >>>>>> http://camel.apache.org/schema/ > >> >>>>>> > >> >>>>>> Please let us know if you still encounter issues. > >> >>>>>> > >> >>>>>> Thanks, > >> >>>>>> Hadrian > >> >>>>>> > >> >>>>>> On Aug 27, 2009, at 2:03 PM, Claus Ibsen wrote: > >> >>>>>> > >> >>>>>> Hi > >> >>>>>> > >> >>>>>> Yeah its because of > >> >>>>>>> https://issues.apache.org/activemq/browse/CAMEL-1947 > >> >>>>>>> > >> >>>>>>> The 2.0 xsd files have not been published to apache maven > servers. > >> >>>>>>> > >> >>>>>>> > >> >>>>>>> > >> >>>>>>> On Thu, Aug 27, 2009 at 5:29 PM, Mick Knutson< > >> mknut...@baselogic.com> > >> >>>>>>> wrote: > >> >>>>>>> > >> >>>>>>> I have been using the example from 2.0-M3 with this endpoint in > >> the > >> >>>>>>> > >> >>>>>>>> server-aop.xml: > >> >>>>>>>> > >> >>>>>>>> <!-- START SNIPPET: e5 --> > >> >>>>>>>> <!-- the audit store endpoint is configued as file based --> > >> >>>>>>>> <camel:endpoint id="AuditStore" uri="file://target/store"/> > >> >>>>>>>> <!-- END SNIPPET: e5 --> > >> >>>>>>>> > >> >>>>>>>> > >> >>>>>>>> But I now get this error when I run the camel server: > >> >>>>>>>> > >> >>>>>>>> Caused by: > >> >>>>>>>> > >> >>>>>>>> > >> >>>>>>>> > >> > org.springframework.beans.factory.parsing.BeanDefinitionParsingException: > >> >>>>>>>> Configuration problem: Cannot locate BeanDefinitionParser for > >> element > >> >>>>>>>> [endpoint] > >> >>>>>>>> Offending resource: class path resource > >> >>>>>>>> [META-INF/spring/camel-server-aop.xml] > >> >>>>>>>> > >> >>>>>>>> > >> >>>>>>>> --- > >> >>>>>>>> Thank You… > >> >>>>>>>> > >> >>>>>>>> Mick Knutson, President > >> >>>>>>>> > >> >>>>>>>> BASE Logic, Inc. > >> >>>>>>>> Enterprise Architecture, Design, Mentoring & Agile Consulting > >> >>>>>>>> p. (866) BLiNC-411: (254-6241-1) > >> >>>>>>>> f. (415) 685-4233 > >> >>>>>>>> > >> >>>>>>>> Website: http://baselogic.com > >> >>>>>>>> Linked IN: http://linkedin.com/in/mickknutson > >> >>>>>>>> Vacation Rental: http://tahoe.baselogic.com > >> >>>>>>>> --- > >> >>>>>>>> > >> >>>>>>>> > >> >>>>>>>> > >> >>>>>>>> -- > >> >>>>>>> Claus Ibsen > >> >>>>>>> Apache Camel Committer > >> >>>>>>> > >> >>>>>>> Open Source Integration: http://fusesource.com > >> >>>>>>> Blog: http://davsclaus.blogspot.com/ > >> >>>>>>> Twitter: http://twitter.com/davsclaus > >> >>>>>>> > >> >>>>>>> > >> >>>>>>> > >> >>>>>> > >> >>> > >> >> > >> > > >> > >> > >> > >> -- > >> Claus Ibsen > >> Apache Camel Committer > >> > >> Open Source Integration: http://fusesource.com > >> Blog: http://davsclaus.blogspot.com/ > >> Twitter: http://twitter.com/davsclaus > >> > > > > > > -- > Claus Ibsen > Apache Camel Committer > > Open Source Integration: http://fusesource.com > Blog: http://davsclaus.blogspot.com/ > Twitter: http://twitter.com/davsclaus >