Thanks Claus,
I got this working using
getContext().resolvePropertyPlaceholders("{{key}}"));
However, I could not retrieve the Propeties Object from the context.
When I use this :
Map properties = getContext().getProperties();
System.out.println("size=" + properties.keySet().si
On Mon, Nov 8, 2010 at 10:01 AM, Olivier.Roger wrote:
>
> Thanks Claus,
>
> I got this working using
> getContext().resolvePropertyPlaceholders("{{key}}"));
>
> However, I could not retrieve the Propeties Object from the context.
> When I use this :
>
> Map properties = getContext().getProp
Hello
I have a CAMEL route that I would like to have a route that executes
everyday at 02:00 AM. If I have read the documentation correctly,
http://camel.apache.org/timer.html indicates that:
1. pattern=HH:mm
2. time=02:00
3. period=24hours
Is that correct?
Cheers
--
S. Ali Tokmen
s
I see,
It explains the results I observed then.
Thanks for the explanation.
--
View this message in context:
http://camel.465427.n5.nabble.com/Properties-in-Java-DSL-tp3242156p3254753.html
Sent from the Camel - Users mailing list archive at Nabble.com.
There is an unlimited number of users on the system.
I can't get each one a separate queue.
--
View this message in context:
http://camel.465427.n5.nabble.com/Cannot-reply-to-a-message-routed-by-camel-tp3254431p3254779.html
Sent from the Camel - Users (activemq) mailing list archive at Nabble.co
The timer is based on the JDK timer which really cant do nothing else
than trigger every X interval.
I do think the JDK timer has a rather peculiar feature where you can
set a date when it should trigger the first time.
Read its javadoc.
If you need something like at specific times per day etc.
Hi,
thanks for providing such a quick fix. I switched from 2.5 to
2.6-SNAPSHOT, but it seems that the snapshots jar's haven't been built
since 2010/11/02.
https://repository.apache.org/content/repositories/snapshots/org/apache/camel/camel-cxf/2.6-SNAPSHOT/
regards,
marco
On 07.11.2010 12
Hello Claus
Thank you for these informations. Since I was looking for a timer-like
behaviour, I did not think of looking into Quartz.
I guess that component is the ideal for my use case.
Cheers
S. Ali Tokmen
savas-ali.tok...@bull.net
Office: +33 4 76 29 76 19
GSM:+33 66 43 00 555
Bull,
Maybe you can use JMSXGroupID and concurrent consumers.
Then the messages within the same group id will be processed in
sequence. But you can leverage parallelism.
On Mon, Nov 8, 2010 at 10:45 AM, Krystian wrote:
>
> There is an unlimited number of users on the system.
> I can't get each one a
On Mon, Nov 8, 2010 at 11:13 AM, Marco Zapletal
wrote:
> Hi,
>
>
> thanks for providing such a quick fix. I switched from 2.5 to 2.6-SNAPSHOT,
> but it seems that the snapshots jar's haven't been built since 2010/11/02.
>
> https://repository.apache.org/content/repositories/snapshots/org/apache/ca
It all seems like it's a workaround rather than a fix.
I mean... the olution I've got right now is simple and works fine with this
one small issue: reply-to queue being changed.
Since reply-to queues are changing I believe new ones are created. I'm not
sure if that's the case. I cannot see anythin
I have checked out the latest snapshots now. The exception is gone,
however, the generated WSDL does not reference the schema given in the
schemaLocation.
My schemaLocation definition corresponds to the example given by Willem.
The only output I get from the log files is as follows:
INFO:Bea
Hello Camel!
I was wondering if someone had already implemented the
org.apache.camel.spi.AggregationRepository for JDBC database ?
If not I would like to give it a try, Is there something I need to know
before I begin?
I read Camel In Action, chap. 8 sec.2 and analyzed the HawtDB implementation
Hi Oliver
On Mon, Nov 8, 2010 at 4:09 PM, Olivier.Roger wrote:
>
> Hello Camel!
>
> I was wondering if someone had already implemented the
> org.apache.camel.spi.AggregationRepository for JDBC database ?
> If not I would like to give it a try, Is there something I need to know
> before I begin?
>
Hi,
This is indeed related to the mis-configuration of your sqlmap configuration
file. Please ensure that the file has information that is properly
configured. Please find an example below. Note that the config file must be
n your classpath and must conform to the DTD...
https://svn.apache.org/v
Hi,
First, Looks like your uri "jms:..." has not been properly mapped to Camel
using the Oracle Connection Factory with the right parameters.
In order for this to happen you need to create a bean as follows
.
The jms bean must be mapped using the class
org.apac
Hi,
Please checkout ActiveMQ message groups. This is ideal for your use-case.
This way you don't have to create a million queues and yet the ordered
processing of certain messages without losing load-balancing and failover
benefits.
http://activemq.apache.org/message-groups.html
http://activemq.
Hi,
It is now possible to do route scheduling this out of the box in Camel 2.5.
Please check out
http://camel.apache.org/scheduledroutepolicy.html
http://camel.apache.org/scheduledroutepolicy.html
http://camel.apache.org/cronscheduledroutepolicy.html
http://camel.apache.org/cronscheduledroutep
On Mon, Nov 8, 2010 at 4:53 PM, Ashwin Karpe wrote:
>
> Hi,
>
> It is now possible to do route scheduling this out of the box in Camel 2.5.
>
This is only avail from 2.6 onwards.
And route scheduling is used for controlling when a route should be active.
Its not the same as scheduling a new mess
Hi guys,
thanks for the info about ActiveMQ message groups, it would work
perfectly... unfortunately my solution is a tad more complicated.
I didn't go into detail in the first message, sorry about that.
One action concerns 2 users. It is an action between two of them. So my
message, which is act
Okay...so what you need in any case is something that keeps track of
what users are currently being handled. A message comes in, the
set/tree/hash that tracks the users in use is checked, and if the two
users aren't in it then entries are made for them and the message gets
handled; the message han
Hi Claus,
Oops, you are right. I guess I did not understand the requirement
accurately.
Sorry about any confusion caused...
Cheers,
Ashwin...
-
-
Ashwin Karpe
Apache Camel Committer & Sr Principal Consultant
FUSESource (a Progress S
Hmm... Interesting... So what you are looking for is some kind of executor on
a Browsable Endpoint (tied to a DB, Queue...) that cherry picks messages for
downstream execution based on the execution status/flag associated with a
previously processed message.
I am afraid such a capability does no
Hi Donald,
Yes, I believe this would work.
I would have to have a map with messages, where key = messageId and another
map where user ids are the keys and list of message Ids are the values.
This way I could handle it without all the JMS hacking I'm doing at the
moment.
Actually I was able to ma
Hello,
I am looking at using the FTP component to act as a scheduled poller for
files on a remote server. But I feel I need to have the ability to shutdown
the polling without bringing my entire application down. Is there a best
practice or strategy in Camel to achieve this with scheduling? Is
Ahhh
one more thing.
Although I have set:
for AMQ [5.3.2] and:
errorHandler(deadLetterChannel("activemq:ActiveMQ.DLQ").maximumRedeliveries(0).redeliveryDelay(1).maximumRedeliveryDelay(1))
from("activemq:ActiveMQ.DLQ?recoveryInterval=1&exchangePattern=OutOnl
I am using following XML snippet to declare custom predicate on my route.
However, Camel 2.4 is throwing exception. It looks like Camel is not able to
find Bean from exception message. Is it a correct syntax for custom
predicate declaration?
http://camel.apache.org/schema/spring";>
If i
Hi Marco,
The schemaLocation is passed to the ServiceFactoryBean.
Can you send me a simple test case of this issue ? So I can dig the
issue shortly.
On 11/8/10 10:59 PM, Marco Zapletal wrote:
I have checked out the latest snapshots now. The exception is gone,
however, the generated WSDL does
Thanks Steve. I look forward to your new patch. what is the issue link for
this patch , so that i can have look at the changes that you will promote
this weekend.
--
View this message in context:
http://camel.465427.n5.nabble.com/Camel-quickfix-logging-tp3249378p3256092.html
Sent from the Camel
Hi,
Just one more thing, current camel-cxf is using CXF 2.3.0 now.
Please make sure there is no other version of CXF in your class.
On 11/9/10 8:53 AM, Willem Jiang wrote:
Hi Marco,
The schemaLocation is passed to the ServiceFactoryBean.
Can you send me a simple test case of this issue ? So I
Hi Madhav,
Can I have a look at your route?
I think the Transfer-Encoding = chunked value can be filtered by a
customer CxfHeaderFilterStrategy.
How about just add this configuration ?
Now I need to check the CXF code to see if I can let the http conduit
just send the chucked requ
Hi
You can use the API from CamelContext or JMX to stop/start routes at runtime
there is a startRoute / stopRoute method calls for that.
...
In Java DSL you see the route id as follows:
from("xxx").routeId("foo")
camelContext.stopRoute("foo");
You can also use RoutePolicy which can be us
On Tue, Nov 9, 2010 at 12:50 AM, rxm0203 wrote:
>
> I am using following XML snippet to declare custom predicate on my route.
> However, Camel 2.4 is throwing exception. It looks like Camel is not able to
> find Bean from exception message. Is it a correct syntax for custom
> predicate declaration
Hi all:
I'm familiar with a common practice in Spring to create a unit test
sub-classing AbstractTransactionalJUnit4SpringContextTests. Then in your
@Before's, you setup the data in the database for your unit test. And in
your @Test's you can test your code that expects the data in the databa
34 matches
Mail list logo