Re: why i building camel2.7.2 use maven install error?

2011-06-30 Thread Freeman Fang
Hi, I'm on mac and I saw exactly this issue found: org.apache.camel.model.ProcessorDefinition required: org.apache.camel.model.LoadBalanceDefinition when I use jdk 1.6.0_13, but after upgrade to 1.6.0_24 then it's ok, so some lower version of jdk1.6.0 should be also the p

Re: camel-cxf in tomcat cannot process multiple parameters

2011-06-30 Thread Willem Jiang
Hi, CXF is an implementation of JAX-WS which doesn't support the rpc/encoded. On 6/30/11 10:42 PM, plowry wrote: Just to put this in context, there is a bigger problem I'm trying to solve... I have two requirements: 1) deploy my Camel-CXF web service using Tomcat 2) accept calls from a JAX-RPC W

Re: camel-cxf in tomcat cannot process multiple parameters

2011-06-30 Thread boday
for #1, did you follow this guide (http://camel.apache.org/cxf-tomcat-example.html) ?? plowry wrote: > > Just to put this in context, there is a bigger problem I'm trying to > solve... > > I have two requirements: > 1) deploy my Camel-CXF web service using Tomcat > 2) accept calls from a JAX-RP

Re: Maximum Number of Routes

2011-06-30 Thread Donald Whytock
Close. More specifically, I mean the entire route can be shared...you really should only need one route. I assume you have a list of regexes and email addresses in a database? So for any given message, you compare it against the regexes and kick off an email message for each match. So your proc

Re: Maximum Number of Routes

2011-06-30 Thread krishy
Donald Whytock wrote: > > You can do it with a single email endpoint that points to your SMTP > server, producing an exchange for each event for each user by putting > the destination email address in the message's "to" header. > Thanks and that is what I have planned. When ever the users infor

Re: Maximum Number of Routes

2011-06-30 Thread boday
same question...same answer http://stackoverflow.com/questions/6336900/design-question-on-dynamic-apache-camel-routes-context/6347445#6347445 krishy wrote: > > This might be question that falls in the premature optimization category. > > I am working on a project where users create watch list

Re: Maximum Number of Routes

2011-06-30 Thread Donald Whytock
You can do it with a single email endpoint that points to your SMTP server, producing an exchange for each event for each user by putting the destination email address in the message's "to" header. Don On Thu, Jun 30, 2011 at 3:02 PM, krishy wrote: > This might be question that falls in the prem

Maximum Number of Routes

2011-06-30 Thread krishy
This might be question that falls in the premature optimization category. I am working on a project where users create watch lists on the various events in the system based on certain criteria and whenever the events that satisfy their criteria are met, an email is sent to the user. Say for exam

Re: concurrentConsumers basic question

2011-06-30 Thread rogelio_sevilla1
Thanks a lot mr. O'Day for the correction, and thanks to everyone else for the time taken to answer my question :-D -- View this message in context: http://camel.465427.n5.nabble.com/concurrentConsumers-basic-question-tp4535789p4539262.html Sent from the Camel - Users mailing list archive at Na

Re: Exception running from camel-archtype-java -v2.7.2

2011-06-30 Thread Claus Ibsen
Hi Ah you are on windows and your maven repository is in a directory that has a space. This has been fixed in the next Camel 2.8.0 release. You would have to move your maven repo to a directory without a space. On Thu, Jun 30, 2011 at 4:45 PM, gtfisher wrote: > The full stack trace is include b

Re: Exception running from camel-archtype-java -v2.7.2

2011-06-30 Thread gtfisher
The full stack trace is include below: * Error occurred while running main from: org.apache.camel.spring.Main java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAcc

Re: camel-cxf in tomcat cannot process multiple parameters

2011-06-30 Thread plowry
Just to put this in context, there is a bigger problem I'm trying to solve... I have two requirements: 1) deploy my Camel-CXF web service using Tomcat 2) accept calls from a JAX-RPC WSDL-based client I am currently stuck on #1, because I cannot accept messages with multiple parameters. When #1 i

Re: why i building camel2.7.2 use maven install error?

2011-06-30 Thread Jon Anstey
Yeah, I built with mvn clean install -Dtest= Trying now without the -Dtest= On Thu, Jun 30, 2011 at 11:50 AM, Daniel Kulp wrote: > On Thursday, June 30, 2011 11:29:00 AM Jon Anstey wrote: > > FYI I can build Camel trunk fine with IBM JDK 1.6.0 on Linux. So least > that > > platform works :) >

Re: why i building camel2.7.2 use maven install error?

2011-06-30 Thread Daniel Kulp
On Thursday, June 30, 2011 11:29:00 AM Jon Anstey wrote: > FYI I can build Camel trunk fine with IBM JDK 1.6.0 on Linux. So least that > platform works :) > > janstey@duffman:/x1/asf/camel/trunk$ mvn --version > Apache Maven 3.0.2 (r1056850; 2011-01-08 21:28:10-0330) > Java version: 1.6.0, vendor:

Re: camel-cxf in tomcat cannot process multiple parameters

2011-06-30 Thread plowry
Note: I added logging statements to the CxfConverter and BeanConverter source files; if these extra statements are confusing, just ignore them. -- View this message in context: http://camel.465427.n5.nabble.com/camel-cxf-in-tomcat-cannot-process-multiple-parameters-tp4538511p4538992.html Sent fro

Re: camel-cxf in tomcat cannot process multiple parameters

2011-06-30 Thread plowry
Hi Willem Here is the tar file. http://camel.465427.n5.nabble.com/file/n4538980/camel-cxf-tomcat-problem.tar camel-cxf-tomcat-problem.tar The log (snipped) reads as follows: 2011-06-30 15:06:04,504 [http-8080-1] TRACE component.cxf.CxfConsumer - Received CXF Request: {org.apache.cxf.service.S

Re: why i building camel2.7.2 use maven install error?

2011-06-30 Thread Jon Anstey
FYI I can build Camel trunk fine with IBM JDK 1.6.0 on Linux. So least that platform works :) janstey@duffman:/x1/asf/camel/trunk$ mvn --version Apache Maven 3.0.2 (r1056850; 2011-01-08 21:28:10-0330) Java version: 1.6.0, vendor: IBM Corporation Java home: /opt/ibm-java-i386-60/jre Default locale:

Re: camel-cxf in tomcat cannot process multiple parameters

2011-06-30 Thread Willem Jiang
Hi, I can't see the log or the demo. Can you show me your route configure and error log ? On 6/30/11 7:31 PM, Paul Lowry wrote: Hi all, I seem to have encountered a bug in Camel-XCF when running in Tomcat (as described in http://camel.apache.org/cxf-tomcat-example ) I am using a wsdl-first ap

camel-cxf in tomcat cannot process multiple parameters

2011-06-30 Thread Paul Lowry
Hi all, I seem to have encountered a bug in Camel-XCF when running in Tomcat (as described in http://camel.apache.org/cxf-tomcat-example ) I am using a wsdl-first approach, whereas the demo is java-first; but I don't think this makes any difference. The problem is: I can invoke any methods in my

RE: RestletBinding exception on startup

2011-06-30 Thread Stuart Churchill
> Try with restletBinding=#QueryParamsBinding to indicate a reference > lookup. > > As its documented in the options table > http://camel.apache.org/restlet Doh! I spent far too long staring at that page and never saw the hash on the reference. Now working perfectly, thanks Claus.     Cheers,

Re: RestletBinding exception on startup

2011-06-30 Thread Claus Ibsen
Try with restletBinding=#QueryParamsBinding to indicate a reference lookup. As its documented in the options table http://camel.apache.org/restlet On Thu, Jun 30, 2011 at 11:15 AM, Stuart Churchill wrote: > Morning folks, > > Under Camel 2.7.2, I'm attempting to specify a custom RestletBinding o

RestletBinding exception on startup

2011-06-30 Thread Stuart Churchill
Morning folks, Under Camel 2.7.2, I'm attempting to specify a custom RestletBinding on a route, but I don't seem to be having much luck. According to the docs[1], I should put an option on the URI of "restletBinding=" with a reference to a bean that is an instance of RestletBinding. When I do t

Re: Custom exclusiveReadLockStrategy in Servicemix + Camel

2011-06-30 Thread Claus Ibsen
On Wed, Jun 29, 2011 at 6:36 PM, Laurentiu Trica wrote: > Hi Claus, > > You said this: "*Adjust the **configuration to use the new version of the > camel features file*" > What do you mean by that? > Do you mean I should edit the /etc/org.apache.karaf.features.cfg file from > ServiceMix? > How can

MBean Object doesn't have all the attributes when accessed via jmx

2011-06-30 Thread sanketh.reddy
HI, i need to programmatically get the MessagesCompleted and MessagesFailed attributes from camel MBean for a consumer component . when i use the uri "service:jmx:rmi:///jndi/rmi://localhost:1099/jmxrmi" as the JMXServiceURL , javax.management.ObjectName has very limited no of attributes that