Hi
You need to use OsgiCamelContextHelper to set the osgi bits on the context.
When using camel-spring (spring-dm) or camel-blueprint, then this is
done automatic.
But when you do osgi manually you need to setup osgi a bit more manually.
On Wed, Apr 24, 2013 at 10:12 PM, lleclerc wrote:
>
> I
Hi,
ActiveMQ supports advisory topics you could subscribe to, so you might get the
required information. I have never used them, so I cannot give you any hands on
experience how to integrate this with Camel.
Best regards
Stephan
-Original Message-
From: PJ Walstroem [mailto:walst...@ho
thank you, Stephan. Your answer makes sense. I think we will use topic +
inOnly and handle the responses in a different route. The number of
subscribers could be as high as 50, so a topic seems to be the solution.
You also say that "Camel had no way to determine what n is and how many
answers to e
hello,
when using an ActiveMQ topic with Camel (2.11.0), is there a way to make
Camel dynamically aware of the clients subscribing to the topic? We are
striving for loose coupling and our ideal scenario would be like this
1) Camel starts a topic, which is not durable
2) A hitherto unknown subscrib
Hi,
>From my understanding Request Reply (InOut) doesn't make too much sense in
>combination with topics. With queues the semantic is simple: you send out a
>message to a queue, wait for a response in a different queue and proceed. For
>topics the thing is a bit different, if you send a messag
hello,
we are using Camel 2.11.0 with the following route
from("activemq:incoming").inOut("activemq:topic:integrations").to("direct:storage").end()
my question is simply if this makes sense? We love the idea of using InOut
MEP and letting Camel generate temporary reply-queues. We have e.g. 10 JMS
Hi Claus,
I will give it a look. Thanks for the hint!
Cheers,
Eva.
--
View this message in context:
http://camel.465427.n5.nabble.com/Camel-Restlet-with-connection-pool-tp5731415p5731501.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Hi
Ah this is by design. The file component read lock strategy is per
file, and don't do a "bulk operation".
Also if you want to process files in order (eg maybe sorted) etc, then
you would need to grab the read lock in that order as well.
When we move to Java7 as minimum JDK version, then we can
Hi
Yeah I don't think there is a particular reason why the directory is
used in the contains idempotent repo call.
I guess ideally it should only be for the files. So feel free to log a
JIRA. And as always we love contributions, so patches is welcome.
http://camel.apache.org/contributing.html
On
Hi
There is some foregin language error in the logs. Maybe that can point
you to what is wrong.
[-1) thread #3 - MinaThreadPool] MinaConsumer$ReceiveHandlerWARN
[/127.0.0.1:3904] Unexpected exception from exceptionCaught handler.
org.apache.camel.CamelException: java.io.IOException: Une conne
I have similar need - I need to audit the response, so I want to do it in
parallel to sending the response:
from("activemq:queue").setExchangePattern(ExchangePattern.InOut).
to("bean:foo").
to("bean:audit").
end();
For some reason I get the response only after audit com
when i use to send object to mina endpoint i get error even if iconvert body
to type of object
this is the code:
/***TCP client/
package com.fusesource.fusebyexample;
import java.io.*;
import java.net.*;
class TCPClient{
public static void main(String argv[]) t
Which was also picked up in 2008 :)
http://mail-archives.apache.org/mod_mbox/camel-users/200810.mbox/%3c4c1fb9c00d24a140906239533638c4d205ab7...@exvs04.exserver.dk%3E
--
View this message in context:
http://camel.465427.n5.nabble.com/Custom-processor-result-not-passed-to-endpoint-tp5731425p57
I sent the same attachment to a different mailbox and here is the exception
that I got when I tried to process it...
org.apache.camel.component.file.GenericFileOperationFailedException: Cannot
store file: /tmp/mailout/ID-defiant-55417-1366828640546-0-1
at
org.apache.camel.component.file.Fi
Try these both:
http://camel.apache.org/quartz.html
http://camel.apache.org/timer.html
Best,
Christian
On Wed, Apr 24, 2013 at 5:13 PM, Roman wrote:
> How can I send polling requests to the SOAP endpoint and receive response?
> Thanks
>
>
>
> --
> View this message in context:
> http://camel.
Can you check whether you face this issue also with Camel 2.11.0? This is
our latest and greatest release at present.
Camel 2.4.0 was released at 15.07.2010 and is not longer supported at
Apache as Claus mentioned.
Best,
Christian
On Wed, Apr 24, 2013 at 4:59 PM, Nibs wrote:
> Thanks a lot
> b
http://camel.apache.org/file2.html
Camel is looking for the header "CamelFileName" to determine the file name.
Best,
Christian
On Wed, Apr 24, 2013 at 4:14 PM, Bovas wrote:
> Thanks
>
> just need to add this instruction :
>
> exchange.getOut().setHeaders(exchange.getIn().getHeaders())
>
>
>
>
You should have a look at [1] what you should provide by looking for help.
And if you use the ActiveMQ API directly, that you should ask there for
help.
Any why do you think "i feel camel creating some issue". Based on which
information? You didn't share anything with us...
[1] http://camel.apac
Hey Guys,
thanks for reporting.
Could you provide a unit test which shows this issue (may directly for the
FileUtil class). Ans like always, patches are welcome and help us to fix
this issue soon.
http://camel.apache.org/contributing.html
Best,
Christian
On Wed, Apr 24, 2013 at 11:28 AM, Bengt
We are using persistent ActiveMQ queues [1] [2] for this purpose. It's
fast, scales and works well for us. By using the transferExchange option
the message body and all headers (only strings and primitives) are stored.
[1] http://camel.apache.org/activemq.html
[2] http://camel.apache.org/jms.html
I was wondering why OsgiDefaultCamelContext wasn't setting directly the
TypeConverter and went for overwritting the createTypeConverter method. I
think it's a work around because it was never added as a service.
Here is my GuiceOsgiTypeConverter :
--
View this message in context:
http://came
Hi,
I am fusing OsgiDefaultCamelContext with GuiceCamelContext by doing the
"Guicyfication" of
all osgi resolvers to be injected of BundleContext, which is injected in
GuiceCamelContext.
The only problem is TypeConverter, because if it is set manually this method
:
It will never be added with
Hi
The setting maxMessagesPerPoll is actually respected but the files will only
be processed one by one with a delay matching readLockTimeout. This
behaviour is happening because the method acquireExclusiveReadLock in
FileChangedExclusiveReadLockStrategy effectively calls
Thread.sleep(checkInterva
Done for mina2 either.
On Wed, Apr 24, 2013 at 10:22 AM, Claus Ibsen wrote:
> Sounds good.
>
> And btw I dont think there was a good reason for the String
> conversion. It should have been bytes from the start.
>
> On Wed, Apr 24, 2013 at 10:13 AM, Thomas Termin
> wrote:
> > Hello Claus, Mike,
Is there a reason why when GenericFileConsumer.isValidFile is called against
a directory, IdempotentRepository.contains is called? This is causing issues
in our IdempotentRepository implementation.
v2.8.1
--
View this message in context:
http://camel.465427.n5.nabble.com/GenericFileConsumer-an
Hi Henrik
If you are able to double check again that this behavior is seen, when
you have, for example, 10 files ready to be picked up, and have
maxMessagesPerPoll=50, and still the consumer only pickup 1 file per
poll. Then yeah for sure it sounds like a bug, and feel free to log a
JIRA.
On Wed,
Hi
Yeah I can see this is a bug. I have logged a ticket. Thanks for
reporting this problem to the community.
https://issues.apache.org/jira/browse/CAMEL-6311
On Tue, Apr 23, 2013 at 8:05 AM, aram wrote:
> I tried it on a camel 2.11.0 , but there is the same problem :
>
> java.lang.AssertionError
Please kindly help me.
Regards
Prabu.N
On Wed, Apr 24, 2013 at 2:54 PM, Prabu wrote:
> Hi All,
>
> I am facing some issue in my camel code.
>
> Initially i have used java code to route messages from one end to another
> end.
>
> I modified code to route message using camel routing insight of
Thanks Christian.
I was uncertain on how the header would transfer through from the split.
Thank you for clarifying it.
/RT
--
View this message in context:
http://camel.465427.n5.nabble.com/Camel-DSL-setHeader-and-Aggregate2-strategy-tp5731382p5731460.html
Sent from the Camel - Users mailing
How can I send polling requests to the SOAP endpoint and receive response?
Thanks
--
View this message in context:
http://camel.465427.n5.nabble.com/Camel-polling-consumer-on-soap-endpoint-tp5731458.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Thanks a lot
but i am already using
convertBodytype=String
but that didnt work
--
View this message in context:
http://camel.465427.n5.nabble.com/recipientList-not-working-properly-tp5731447p5731457.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Just a note that Camel 2.4 is no longer supported. So if there is a
bug, we dont fix it and release a patch.
The cannot store error indicate on Windows there is some
FileInputStream that has not been closed, and Windows then refuses to
store/write/move/delete files or whatsoever.
You can usually
I am using camel 2.4
--
View this message in context:
http://camel.465427.n5.nabble.com/recipientList-not-working-properly-tp5731447p5731455.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Thanks
just need to add this instruction :
exchange.getOut().setHeaders(exchange.getIn().getHeaders())
--
View this message in context:
http://camel.465427.n5.nabble.com/conserve-output-filename-tp5731440p5731451.html
Sent from the Camel - Users mailing list archive at Nabble.com.
It could be, or maybe there is only 1 file that is not changed. The
read lock is only granted if Camel "sees" the file as not being
changed (which is that its file size / timestamp) is not changing over
a period of time.
On Wed, Apr 24, 2013 at 1:29 PM, hefiso
wrote:
> Hi
>
> Usually the file-en
Hi
What Camel version do you use?
And read this page for points what you can do first
http://camel.apache.org/support
On Wed, Apr 24, 2013 at 4:03 PM, Nibs wrote:
> Hi am trying to some validation and then xml to xslt transformation using
> recipientList.
> It was working fine when i have singl
Hi
See this FAQ
http://camel.apache.org/using-getin-or-getout-methods-on-exchange.html
On Wed, Apr 24, 2013 at 3:23 PM, Bovas wrote:
> Hi,
>
> I'm new. I have a question. How can I conserve the names and extension of
> inputfile? Because when I modify each files of my folder, in output the
> nam
Hi am trying to some validation and then xml to xslt transformation using
recipientList.
It was working fine when i have single route.
but as my task require aggregator, splitter so i added some more
routes,after that i got error
:DefaultErrorHandler: (Logger.java:248) Failed delivery for exchange
Just Christian point out. If you want to set the message body for the PAYLOAD,
it should not has soap envelop. It could be an xml element or java object
(camel-cxf will marshal the object for you by default).
--
Willem Jiang
Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http://www.fuse
If you use the PAYLOAD data format, you have to return a java / jaxb object
instead of an XML/string.
Sent from a mobile device
Am 24.04.2013 15:25 schrieb "pradeepbill" :
> Hello Camel Riders, I have soap ui sending soap requests to my cxf endpoint
> and from there to an other endpoint via Route
Stream caching doesn't apply to attachments. You have to deal with
that yourselves.
On Wed, Apr 24, 2013 at 2:15 PM, pokkie wrote:
> I have enabled StreamCaching as per the documentation but no luck.
>
> I have another email account but I cannot access that at work as we have a
> proxy server and
Hello Camel Riders, I have soap ui sending soap requests to my cxf endpoint
and from there to an other endpoint via Routes, the request response works
fine if I use MESSAGE format, but fails with the below error message when I
use PAYLOAD format.I have checked the soap response and its a valid one,
Hello I'm new to cfx. Please sorry for my awfull english.
I create ws using JAXWSServerFactoryBean. My web service is ok. But i have
trouble with accesses using Flex UI. I need to place crossdomain.xml file to
root folder of server. My web service is running at
http://localhost:/myservice. And
I have enabled StreamCaching as per the documentation but no luck.
I have another email account but I cannot access that at work as we have a
proxy server and I don't think (please correct me if I am wrong) its
possible to configure the imap camel component to go through a proxy server.
--
V
Hi,
I'm new. I have a question. How can I conserve the names and extension of
inputfile? Because when I modify each files of my folder, in output the
names and extension are not the same (ID-1546...).
I use Apache Camel 2.11, language : Groovy.
my source code :
context.addRoutes(new RouteBuilde
Hi Claus Ibsen/Christian
Thanks for the response. Claus Ibsen, you are right I am trying
to implement something similar. Now I am not sure if there is a problem with
aggregator or not. Before returning from aggregator I am checking exchange
which is to be returned. It contains exact sa
Hi
Usually the file-endpoint (File2) allows for processing more than one file
per poll by setting the property maxMessagesPerPoll.
However, when also using readLock=changed, then the file-consumer does not
consume more than one file per poll, regardless of the value specified for
maxMessagesPerP
Hi
Sounds like the attachments is stream based, and therfore only readable once.
See this related FAQ
http://camel.apache.org/why-is-my-message-body-empty.html
On Wed, Apr 24, 2013 at 11:41 AM, pokkie wrote:
> Hi,
>
> I am consuming emails with attachments in my application but I need to write
Hi,
I am consuming emails with attachments in my application but I need to write
the contents of the attachments out to an endpoint.
Here is my route :
from("imap://user@mail.server?password=password")
.routePolicy(startPolicy).noAutoStartup()
.process(new MyMailProcessor())
Hi
I suggest to check the restlet project if it has any connection
pooling facilities.
On Wed, Apr 24, 2013 at 10:59 AM, evillarroya wrote:
> Is it possible to use restlet component with a pooled connection? I couldn't
> find any example of this.
>
> Thank you in advance.
>
> Cheers,
> Eva.
>
>
I created a JIRA for this:
https://issues.apache.org/jira/browse/CAMEL-6309
/Bengt
2013/4/24 Bengt Rodehav
> Also, note that the "stepwise" option does not affect the bug I have
> enountered. What happens for me is that Camel traverses the path to get
> down to the subdirectory in order to ve
Hi All,
I am facing some issue in my camel code.
Initially i have used java code to route messages from one end to another
end.
I modified code to route message using camel routing insight of java code.
After modified code,i am facing issue in my code.
500 Messages stored in DLQ.testQueue
Whe
Hi !
I'm trying to find what is the best solution to manage temporary unavailable
systems with my bus.
A few exceptions I catch mean "try again later", so I used a dead letter
queue with no representation limit.
My question is : if I have a lots of messages waiting for the next
representation, a
Hi,
Did you start working on this issue? I might be interested in it, too.
Regards,
Laurentiu
On Thu, Mar 14, 2013 at 9:32 PM, moxximus wrote:
> Was this camel-sardine component ever completed? If not, could you pass my
> contact info on to the community member who was developing the componen
Also, note that the "stepwise" option does not affect the bug I have
enountered. What happens for me is that Camel traverses the path to get
down to the subdirectory in order to verity that the subdirectory exists
(or create it). Then when Camel tries to return to the original directory
the error h
Hello Diether,
The error you mention looks very similar to mine. However, you use ftp (and
thus FtpOperations) while I use sftp (and SftpOperations). I haven't
checked if they handle subdirectories in a similar way. I'm afraid that the
bug might affect many components since it is in camel-core (Fi
Is it possible to use restlet component with a pooled connection? I couldn't
find any example of this.
Thank you in advance.
Cheers,
Eva.
--
View this message in context:
http://camel.465427.n5.nabble.com/Camel-Restlet-with-connection-pool-tp5731415.html
Sent from the Camel - Users mailing
This problem has been mentioned before:
http://camel.465427.n5.nabble.com/Producing-files-to-ftp-now-working-in-2-10-3-td5726060.html
But it seems like still no fix has been implemented then.
For us it was working in 2.10.2 though, but not in 2.10.3
Regards,
Diether
Hi
Check out the camel-rss component
http://camel.apache.org/rss
And there is a related atom component also
http://camel.apache.org/atom.html
On Wed, Apr 24, 2013 at 9:15 AM, uzairkamal wrote:
> HI,
>
> I have to fetch rss feeds daily, i want to write a schedular for that, after
> trying hard i
Hi
Looks like you use this eip
http://camel.apache.org/composed-message-processor.html
I suggest to double check your custom aggregation strategy what
happens. You can debug / log / print out or whatever, to see what
happens.
And / or use the Camel tracer
http://camel.apache.org/tracer
And if y
Hi
You can use the wire tap eip to send a tapped message to the 2nd
route. Do that before you call the http endpoint.
On Tue, Apr 23, 2013 at 2:39 PM, Vas wrote:
> Hi,
> I have two routes in camel context.
> first route is for sync and second for async.
> i want the response from first route on
I investigated this further and found a serious bug in the
FileUtil.compactPath() method. If the path only contains a "/" (or "\" on
Windows) the compactPath() method will:
- Determine that the path both starts and ends with a slash.
- First output a slash because the path starts with a slash
- Th
Sounds good.
And btw I dont think there was a good reason for the String
conversion. It should have been bytes from the start.
On Wed, Apr 24, 2013 at 10:13 AM, Thomas Termin wrote:
> Hello Claus, Mike,
>
> I can attach also the patch for mina2 this evening.
>
> Thomas
>
>
> On Wed, Apr 24, 2013
Hello Claus, Mike,
I can attach also the patch for mina2 this evening.
Thomas
On Wed, Apr 24, 2013 at 10:09 AM, Claus Ibsen wrote:
> Hi
>
> Yeah should also be done on camel-mina2.
>
>
> On Wed, Apr 24, 2013 at 8:23 AM, Mikael Fernandus Simalango
> wrote:
> > Hi Claus,
> >
> > If such change
Hi
Yeah should also be done on camel-mina2.
On Wed, Apr 24, 2013 at 8:23 AM, Mikael Fernandus Simalango
wrote:
> Hi Claus,
>
> If such change is to be applied to MinaUdpProtocolCodecFactory, the
> equivalent codec in camel-mina2, Mina2UdpProtocolCodecFactory should also
> be patched so that it
All endpoints are either FTP, JMS, WS or JDBC so it is well within what Camel
can do. JCAPS models messages as Object Type Definitions (OTD) and these
are all XSDs or CSVs and so can be converted easily.
The JCAPS equivalent of a Camel route is a JCD class. Here's an example that
writes an inco
Hi,
I tried something like
camelContext.setPackageScanClassResolver(classResolver);
and no Bindy get JBossPackageScanClassResolver. but still issue is same it
is not able to fine my annotated classes. :(
--
View this message in context:
http://camel.465427.n5.nabble.com/Bindy-tp5731324p57314
The following trace logging looks suspicious to me:
2013-04-24 09:34:40,776 | TRACE | terfaces/nfm/out | SftpOperations
| onent.file.remote.SftpOperations 377 | Current dir: /
2013-04-24 09:34:40,782 | TRACE | terfaces/nfm/out | SftpOperations
| onent.file.remote.SftpOperation
I have a similar problem. I have Request Reply queue.
My (Component / ArtifactId / URI) is like this
jms-mq:planRequestQueue?replyTo=planReplyQueue
I have set ExchangePattern to InOut
I can successfully drop a message on to planRequestQueue and receive the
reply message on the planReplyQueue.
I am using Java DSL,
--
View this message in context:
http://camel.465427.n5.nabble.com/RSS-and-Schedular-tp5731400p5731401.html
Sent from the Camel - Users mailing list archive at Nabble.com.
HI,
I have to fetch rss feeds daily, i want to write a schedular for that, after
trying hard i am not able to do so.
Can any please provide me a piece of code so that i can look into that.
Suggestion are also welcome..
--
View this message in context:
http://camel.465427.n5.nabble.com/RSS-
Some more information. I logged on the sftp server using cygwin (I'm
running on Windows 7 BTW) and executed a "pwd" command just to see what the
server replied and it said:
sftp> pwd
Remote working directory: /
This looks perfectly fine to me and is a normal setup. I e my home
directory looks lik
72 matches
Mail list logo