getDefaultThreadPoolProfile().setMaxPoolSize(30);
>
> Regards,
>
> /Daniel
>
> 2010/9/8 Ron Smith
>
> > I have my RouteBuilder doing this:
> >
> > from(tibco)
> > .threads(readerThreads)
> > .to("direct:localqueue");
> > from
I have my RouteBuilder doing this:
from(tibco)
.threads(readerThreads)
.to("direct:localqueue");
from("direct:localqueue")
.threads(processThreads)
.bean(MyParser.class, "parseMessage")
.bean(MyPersistor.class, "persistRecord");
If I set processThread > 20, I get the following exc
Note that it is not just XPath. Pretty much all of the XML parsers in the
JDK are not thread safe. For instance, we were just having a related
discussion here in another thread and, at the moment, I am using ThreadLocal
to hold on instances of SAXParser for different threads.
On Fri, Aug 13, 2010
ing there isn't and I can
kinda understand why because it is, in essence, creating a separate pipeline
for each thread. Maybe that is the way to do it in camel -- create my route
multiple times on the same endpoint.
On Fri, Aug 13, 2010 at 1:53 AM, Claus Ibsen wrote:
> On Fri, Aug 13,
I don't really want a new bean every time it is called. I just want one for
each thread.
On Thu, Aug 12, 2010 at 1:22 PM, Claus Ibsen wrote:
> On Thu, Aug 12, 2010 at 7:19 PM, Ron Smith wrote:
> > I have created a route like this:
> >
> > from("tibco:que
I have created a route like this:
from("tibco:queue:myqueue")
.threads(10)
.bean(StepOne.class, "handleMessage")
.bean(StepTwo.class, "handleMessage")
I had been testing my app without the threads(). After adding the threads()
I was surprised to find that it still only creates one in
s but, if someone (like
myself) chooses (or is forced) not to use maven, then it is on their (my)
head to resolve those dependencies. At least I have the definitive set of
resources available to do the resolution.
On Tue, Jul 20, 2010 at 10:03 AM, James Strachan
wrote:
> On 20 July 2010 14:21, Ron
value.
I might actually take a stab at a non-spring jms component for camel because
I am really liking the way camel works.
On Tue, Jul 20, 2010 at 10:17 AM, James Strachan
wrote:
> On 19 July 2010 22:12, Ron Smith wrote:
> > I'm with you, Jim. I think that is part of why others
;> [INFO]org.springframework:spring-expression:jar:3.0.3.RELEASE:compile
>> [INFO]org.springframework:spring-jms:jar:3.0.3.RELEASE:compile
>> [INFO]org.springframework:spring-test:jar:3.0.3.RELEASE:test
>> [INFO]org.springframework:spring-tx:jar:3.0.3.RELEASE:compile
>> [INFO]org
ses or jars). The
last line of code throws:
Exception in thread "main" java.lang.NoClassDefFoundError:
org/springframework/transaction/PlatformTransactionManager
at DemonstrateBug.main(DemonstrateBug.java:22)
On Mon, Jul 19, 2010 at 10:20 PM, Ron Smith wrote:
> I just
y Spring 2.x jars.
>
>
> Willem
> --
> Apache Camel, Apache CXF committer
> Open Source Integration http://www.fusesource.com
> Blog http://willemjiang.blogspot.com
> Tiwtter http://twitter.com/willemjiang
>
> Ron Smith wrote:
>
>>
I'm not griping, it just seems
like everything in the java open-source world is starting to depend on
everything else in the java open-source world.
On Mon, Jul 19, 2010 at 3:57 PM, Jim Newsham wrote:
> On 7/19/2010 8:13 AM, Claus Ibsen wrote:
>
>> Hi
>>
>>
After moving from camel 2.3.0 to 2.4.0 I am getting the error:
java.lang.ClassNotFoundException:
org.springframework.transaction.PlatformTransactionManager
when I execute:
context.addComponent("myjms",
JmsComponent.jmsComponentAutoAcknowledge(topicConnectionFactory));
I am including every JAR i
Spring.
James may be right -- it might be time to find a new job :-)
On Mon, Jul 19, 2010 at 1:13 PM, Claus Ibsen wrote:
> Hi
>
>
> On Mon, Jul 19, 2010 at 8:06 PM, Ron Smith wrote:
> > Where I work, Spring has been declared "evil" so I am attempting to use
> &g
Where I work, Spring has been declared "evil" so I am attempting to use
camel without any of the Spring JARs but I can't find any examples of how to
setup a JMS component without a Spring dependency. I am using Tibco as the
JMS provider and it is providing JNDI.
Here is a sample code snippet which
15 matches
Mail list logo