Name, char[] password)
{
logger.debug("Start authenticating login user : " + userName);
long startTime = System.currentTimeMillis();
StringBuffer pd = new StringBuffer();
On 2011-10-14 11:59 AM, diwakar wrote:
> Which is better? Can everything be done in both.
> One drawback with Java is, it can not be opened in Fuse
> Camel Editor.
I've found the Java one easier to use, because Eclipse will
auto-complete and show JavaDocs. There are also some things that require
On 2011-10-11 6:26 AM, szaruba wrote:
> We have also thought about the most of your solutions, but we aren't
> satisfied about most of them,
> because, this will destroy our nice written routes. :( We can't imagine,
> that there isn't any
> non-polling file consumer, but if there really is none
On 2011-10-10 1:19 PM, ebinsingh wrote:
> context.addRoutes(new RouteBuilder() {
> public void configure() {
>
> from("quartz://myTimer?trigger.repeatInterval=2000&trigger.repeatCount=-1")
> .setBody().simple("I was fired at ${header.fireTime}")
>
On 2011-10-10 8:20 AM, szaruba wrote:
> Hi everybody,
>
> In our project we have to grab lots of files out of a directory and copy
> them into another directory.
> The time, when we start the file consumption is fixed and given, we just
> have to grab all files from
> the directory.(What I have to
On 2011-09-16 10:49 AM, Davis Ford wrote:
> Hi Camel users,
>
> I built a standalone maven project using camel 2.8.0 core, spring, and jms
> components. The camel deps pull in spring 3.0.5-RELEASE as a dependency.
>
> Now, I want to use this new project in another larger, more legacy project
> t
It doesn't look like there is an automatic way of setting the S3 key, so
I'm not sure why it worked the first time.
I think what you're trying to do would be this:
Message in = exchange.getIn();
in.setHeader(S3Constants.KEY, in.getHeader(Exchange.FILE_NAME));
On 2011-08-29 11:11 AM, megachucky w
You'll need to URL encode any +'s in your secret key (otherwise, they'll
be treated as spaces). + = %2B, so if your secretkey was
"my+secret\key", your Camel URL should have "secretKey=my%2Bsecret\key".
"Within the query string, the plus sign is reserved as shorthand
notation for a space. Therefor
The ActiveMQ section of the help isn't clear on this. In one of the
examples, it looks like this:
Just giving the brokerURL. Later on we get this (PooledConnectionFactory):
My question is wha
Sorry it looks like my problem was fairly simple. My producer side looks
like this:
Exchange exchange = this.producerTemplate.send(this.endpoint,
ExchangePattern.InOut, new Processor() {
@Override
public void process(Exchange exchange) throws Exception {
exchange.s
The splitting and aggregation is working fine. I already got the
splitting working a while ago (other code depends on it and works fine),
and the "printStuff" processor prints out the message I want returned
(so the aggregation strategy is working too).
My problem is that the exact message I send
I've been working on this for a couple days and can't seem to get it
working. What I want is to send a message using a ProducerTemplate, have
it go to JMS, then another Camel route, then return a response (through
the ProducerTemplate).
This page seems to indicate that the last message send in the
I figured this out right after posting. I needed to add
src/main/resources as a source folder in Eclipse (so it would pick up
META-INF/services/org/apache/camel/TypeConverter).
On 2011-07-05 1:43 PM, Brendan Long wrote:
> I'm trying to do some unit tests on my type converters in what seem
I'm trying to do some unit tests on my type converters in what seems
like an obvious way:
public class MyObjectTest extends CamelTestSupport {
public void testCamelSerialize() {
Exchange exchange = new DefaultExchange(this.context);
MyObject object = new MyObject();
exc
14 matches
Mail list logo