Re: how to monitor a route

2011-09-14 Thread preben
nh/2010/12/applicationmonitoring_statisti.html Preben -- View this message in context: http://camel.465427.n5.nabble.com/how-to-monitor-a-route-tp4799208p4803921.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: StringIndexOutOfBoundsException on RoutePolicyList

2011-07-01 Thread preben
Ahh - I'll answer this myself. Fixed in CAMEL-3811 -- View this message in context: http://camel.465427.n5.nabble.com/StringIndexOutOfBoundsException-on-RoutePolicyList-tp4541674p4542474.html Sent from the Camel - Users mailing list archive at Nabble.com.

StringIndexOutOfBoundsException on RoutePolicyList

2011-07-01 Thread preben
(WLSMBeanServerInterceptorBase.java:324) at weblogic.management.mbeanservers.internal.JMXContextInterceptor.getAttribute(JMXContextInterceptor.java:157) at Camel version 2.7.1 on jdk 1.6 I don't see this error on 2.4.0 Any workaround or fix ? /preben -- View this message in context:

Re: concurrentConsumers basic question

2011-06-29 Thread preben
If you want multiple consumers on topics you might take a look at virtual topics. My guess is that these can have multiple consumers. Correct me if i'm wrong. /preben -- View this message in context: http://camel.465427.n5.nabble.com/concurrentConsumers-basic-question-tp4535789p4536257

Re: Camel FTP

2011-06-17 Thread preben
one of the ways is to enable idempotentRepository. See eg. http://stackoverflow.com/questions/5708425/apache-camel-ftp-consumer-loads-the-same-files-again-and-again -- View this message in context: http://camel.465427.n5.nabble.com/Camel-FTP-tp4498015p4499124.html Sent from the Camel - Users mai

Re: Redelivery is not disabled when maximumRedeliveries is set to 0

2011-06-14 Thread preben
Hi Morten I think you should configure redelivery policy on your jms connection factory. If you are using ActiveMQ look at http://activemq.apache.org/redelivery-policy.html /preben -- View this message in context: http://camel.465427.n5.nabble.com/Redelivery-is-not-disabled-when

Re: Deployment unit versioninfo

2011-06-11 Thread preben
Year I guess you are right when we talk osgi, but if you use no osgi war deployment in application containers it has no concept of wich version it is running unless you deploy war with version info as part of the warfile name. That would mean that you have to undeploy the old war and install the ne

Deployment unit versioninfo

2011-06-09 Thread preben
rming. Any thoughts ? /preben -- View this message in context: http://camel.465427.n5.nabble.com/Deployment-unit-versioninfo-tp4473771p4473771.html Sent from the Camel - Users mailing list archive at Nabble.com.

CamelFileName over JMS - Bug or working as designed ?

2011-06-02 Thread preben
ename header yourself like: camel:setHeader headerName="CamelFileName">${header.CamelFileNameOnly} But is this nessasary ? Shouldn't the CamelFileName be reusable between the Jms- and File component so they have the same convention. FileName without path ? Preben -- View this message in

Re: management example problem

2011-05-29 Thread preben
of course - works fine now -- View this message in context: http://camel.465427.n5.nabble.com/management-example-problem-tp4436607p4436735.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: management example problem

2011-05-29 Thread preben
year - but I'm running the camel management example on 2.8-SNAPSHOT I get an SAXParserException on 'constant': org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid content was found starting with element 'constant'. One of '{"http://camel.apache.org/schema/spring":description, "http:/

management example problem

2011-05-29 Thread preben
-SNAPSHOT /preben -- View this message in context: http://camel.465427.n5.nabble.com/management-example-problem-tp4436607p4436607.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel CommonJ component for Camel running in jee servers

2011-05-09 Thread preben
created ticket https://issues.apache.org/jira/browse/CAMEL-3957 /preben -- View this message in context: http://camel.465427.n5.nabble.com/Camel-CommonJ-component-for-Camel-running-in-jee-servers-tp4375746p4381669.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel CommonJ component for Camel running in jee servers

2011-05-07 Thread preben
Coverage will be fine I guess since it's part of CamelContext, and use in Route execution, but I was expecting to find a single unittest that is responsible for testing DefaultExecuterServiceStrategy. -- View this message in context: http://camel.465427.n5.nabble.com/Camel-CommonJ-component-f

Re: Camel CommonJ component for Camel running in jee servers

2011-05-07 Thread preben
Hi Claus Just started looking at testcoverage for the existing DefaultExecutorServiceStrategy. Seems pretty much missing - or are I'm wrong ? /preben -- View this message in context: http://camel.465427.n5.nabble.com/Camel-CommonJ-component-for-Camel-running-in-jee-servers-tp4375746p43

Re: Camel CommonJ component for Camel running in jee servers

2011-05-06 Thread preben
The dependency is only necessary at copiletime, at runtime one would use WAS or WLS build in jars so it will newer be distributed. Doe's this have some licence influence ? I found the dependency at springsource enterprice repo. com.bea.commonj com.springsource.commonj 1.1.0 Licence says

Camel CommonJ component for Camel running in jee servers

2011-05-06 Thread preben
agnostic using CommonJ which is a shared standard between Weblogic and WAS. What do you think ? Should I create a ticket ? /Preben -- View this message in context: http://camel.465427.n5.nabble.com/Camel-CommonJ-component-for-Camel-running-in-jee-servers-tp4375746p4375746.html Sent from the

Re: RE : Usage of server managed thread of Websphere

2011-05-06 Thread preben
? Should I create a ticket ? /Preben -- View this message in context: http://camel.465427.n5.nabble.com/Re-RE-Usage-of-server-managed-thread-of-Websphere-tp2259287p4375711.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: missing region property in aws-sns component

2011-04-16 Thread preben
Hi Claus Created ticket https://issues.apache.org/jira/browse/CAMEL-3874 /preben -- View this message in context: http://camel.465427.n5.nabble.com/missing-region-property-in-aws-sns-component-tp4303687p4307471.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: missing region property in aws-sns component

2011-04-14 Thread preben
) { client.setEndpoint(configuration.getAwsSNSEndpoint()); } This way you would be able to use the full Spring xml using the uri + options eg: aws-sns://b2btopic?awsSNSEndpoint=sns.eu-west-1.amazonaws.com&accessKey=&secretKey= I have tried it out and it works nice. /preben -- V

missing region property in aws-sns component

2011-04-14 Thread preben
n the SnsConfiguration that supports different regions so that topics will be created in the chosen region ? /preben -- View this message in context: http://camel.465427.n5.nabble.com/missing-region-property-in-aws-sns-component-tp4303687p4303687.html Sent from the Camel - Users mailing list archi

Re: spring xml - shutdown strategy timeout

2011-03-22 Thread preben
Nice -- View this message in context: http://camel.465427.n5.nabble.com/spring-xml-shutdown-strategy-timeout-tp4256930p4258279.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: spring xml - shutdown strategy timeout

2011-03-22 Thread preben
Just create a spring bean : id is important here since it will override camels default shutdown bean I guess. /preben -- View this message in context: http://camel.465427.n5.nabble.com/spring-xml-shutdown-strategy-timeout-tp4256930p4257442.html Sent from the

Getting rid of inflight changes

2011-02-01 Thread preben
How do I get rid of inflight messages that seems to be stuck in a route. [Camel Thread 0 - ShutdownTask] 01 feb. 2011 - 14:16:50,141 INFO org.apache.camel.impl.DefaultShutdownStrategy [Waiting as there are still 2 inflight and pending exchanges to complete, timeout in 135 seconds.] It seems that

Activemq jmsgroupid

2011-01-04 Thread preben
flows that demo's message grouping and FIFO. Thanks Preben -- View this message in context: http://camel.465427.n5.nabble.com/Activemq-jmsgroupid-tp3327579p3327579.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: XMPP pubsub

2010-10-14 Thread preben
;s is not implemented. 4. Tested on ejabberd /Preben http://camel.465427.n5.nabble.com/file/n3212666/patch.txt patch.txt -- View this message in context: http://camel.465427.n5.nabble.com/XMPP-pubsub-tp3074364p3212666.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: XMPP pubsub

2010-10-13 Thread preben
patch ? Thanks Preben -- View this message in context: http://camel.465427.n5.nabble.com/XMPP-pubsub-tp3074364p3210891.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: XMPP pubsub

2010-10-05 Thread preben
Thanks - really helpful !!! and cool it has been mavenized. I'll give it a shot. /preben -- View this message in context: http://camel.465427.n5.nabble.com/XMPP-pubsub-tp3199018p3199662.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: XMPP pubsub

2010-10-04 Thread preben
20008. /preben -- View this message in context: http://camel.465427.n5.nabble.com/XMPP-pubsub-tp3074364p3173539.html Sent from the Camel - Users mailing list archive at Nabble.com.

XMPP pubsub

2010-10-03 Thread preben
xtend the existing xmpp component. thanks Preben -- View this message in context: http://camel.465427.n5.nabble.com/XMPP-pubsub-tp3074364p3074364.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: anonymous FTP login fails

2010-09-20 Thread preben
Super !! -- View this message in context: http://camel.465427.n5.nabble.com/anonymous-FTP-login-fails-tp2846235p2846269.html Sent from the Camel - Users mailing list archive at Nabble.com.

anonymous FTP login fails

2010-09-19 Thread preben
ode 500 when sending null as password. The workaround is to set up the route like: from("ftp://anonym...@myftphost/myfolder?password=";).to("file://target/transfer"); Seems that Camel-ftp should send "" as password instead of null. Thanks Preben -- View this mess

Re: wiretap getting header value

2010-01-20 Thread preben
this will be fixed in 2.2.0 ? Estimated release date availl. ? Claus Ibsen-2 wrote: > > On Wed, Jan 20, 2010 at 3:34 PM, preben wrote: >> >> Thanks for the help. >> >> For now I'll stick to using Exchange directly - this works. >> Using camel annotation

Re: wiretap getting header value

2010-01-20 Thread preben
Thanks for the help. For now I'll stick to using Exchange directly - this works. Using camel annotations in combination with Spring seems not to work. I'll try to create a JIRA tomorrow, but I haven't the time to construct a test case. Sorry. Preben Claus Ibsen-2 wrote: >

Re: wiretap getting header value

2010-01-20 Thread preben
bound with fine xml payload but the header param is missing. Claus Ibsen-2 wrote: > > On Wed, Jan 20, 2010 at 1:46 PM, preben wrote: >> >> Actually I was looking for JMSMessageID like this >> @Header(value="JMSMessageID") String jmsMessageId, but when that

Re: wiretap getting header value

2010-01-20 Thread preben
h headers are you looking for to be in the audit bean? > You do not have any custom JMS properties, only the regular JMS headers. > > And you are saying that Map instance is empty? or is it null? > > > > On Wed, Jan 20, 2010 at 12:26 PM, preben wrote: >> >> Im

Re: wiretap getting header value

2010-01-20 Thread preben
> eg from seda:audit -> auditMessageDAO > this is the interesting part > > BTW which version of Camel are you using? > > > > On Wed, Jan 20, 2010 at 11:49 AM, preben wrote: >> >> Hi Claus >> >> Seems that the headers are present

Re: wiretap getting header value

2010-01-20 Thread preben
lay=0, JMSXDeliveryCount=2}, BodyType:byte[], Body:whatson/133258748813M01340Unittest record title3101236090300811-1JJ2009-08-20Unittest record titleUnittest record titleDR SymfoniOrkestret7Gruppe/SolistNThomas Dausgaard7Gruppe/SolistJCésar Franck10KomponistN] Claus Ibsen-2 wrote: > >

wiretap getting header value

2010-01-20 Thread preben
geDAO takes 2 parameters public void audit(@Body String body, @Headers Map headers) The body gets bound, but the headers parameter doesn't ?? Any idear how this is done best ??? Thanks Preben -- View this message in context: http://old.nabble.com/wiretap-getting-header-value-tp27238444p272