On Wed, Mar 10, 2010 at 8:40 AM, DaHoopster wrote:
>
> Thanks for the resources.
>
> But coming back to my scraper example, the scraper is trying to produce
> messages for other downstream systems. How should I set up the route then?
>
from("timer:foo?period=5000").to("scrapter:").to("log:foo
Thanks for the resources.
But coming back to my scraper example, the scraper is trying to produce
messages for other downstream systems. How should I set up the route then?
Claus Ibsen-2 wrote:
>
> On Wed, Mar 10, 2010 at 8:24 AM, DaHoopster
> wrote:
>>
>> I find this concept rather unintuiti
On Wed, Mar 10, 2010 at 8:24 AM, DaHoopster wrote:
>
> I find this concept rather unintuitive. I'd perceive it as
> from (producer) to (consumer). Why is it from (consumer) to (producer) ?
>
I suggest to read chapter 1 in the Camel in Action book to get
familiar with the Camel concepts and integr
I find this concept rather unintuitive. I'd perceive it as
from (producer) to (consumer). Why is it from (consumer) to (producer) ?
Thanks,
Claus Ibsen-2 wrote:
>
> from = consumer
> to = producer
>
>
>
> On Wed, Mar 10, 2010 at 8:13 AM, DaHoopster
> wrote:
>>
>> Hi,
>>
>> Maybe I am not g
from = consumer
to = producer
On Wed, Mar 10, 2010 at 8:13 AM, DaHoopster wrote:
>
> Hi,
>
> Maybe I am not getting the concept correctly. I am trying to write a web
> scraper that scrapes a page and generate some messages. I think I need to
> write a Producer, correct me if I am wrong.
>
> So
Hi,
Maybe I am not getting the concept correctly. I am trying to write a web
scraper that scrapes a page and generate some messages. I think I need to
write a Producer, correct me if I am wrong.
So I went ahead and wrote a custom component along with an endpoint and a
producer. But for some reas
Hi,
I just checked the Restlet Request Object , it supports to set the
Cookies on the Request Object. It should be easy to support it in
camel-restlet. Please feel free to create a JIRA[1] for it.
You need to create a new JIRA account if you first use it.
[1]http://issues.apache.org/activemq
On Tue, Mar 9, 2010 at 9:36 PM, Hadrian Zbarcea wrote:
> Yes, that is the camel jira, also linked from the "Contributing" page [1]
> (issue tracker) on the official site.
>
> To be able to create an issue you need to have an account and log in. To get
> an account you need to file an icla (indiv
Cool, it's good to see it work.
Please keep on exploring camel-jms component, and feel free to send us
feed back.
Willem
Norman Maurer wrote:
Hi Willem,
I just updated to 2.3-SNAPSHOT and the selector now seems to work as
aspected. Good work :)
Bye,
Norman
2010/3/8 Willem Jiang :
Hi Norma
Hi Jim,
I'm already committed a patch[1] for the issue, and I just change the
CxfPayLoad class's toString() method.
If you want to do some customer change on that , you just need to add
TypeConverter[2] to turn the CxfPayLoad object into String.
[1]http://svn.apache.org/viewvc?rev=920708&view
Dear all
I have a route which is called by like the following:
my.Exception
true
5000
Yes, that is the camel jira, also linked from the "Contributing" page [1]
(issue tracker) on the official site.
To be able to create an issue you need to have an account and log in. To get an
account you need to file an icla (individual Contributor License Agreement)
with apache. You can find m
This is where I'm supposed to post no?
http://issues.apache.org/activemq/browse/CAMEL
Can't find anywhere to create a new issue.
--
View this message in context:
http://old.nabble.com/Quartz-confusion-tp27819970p27841341.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Is there any way that the consumer on direct:decode could be getting
stopped. This is the only way that you could get the No Consumers
error. If you could boil the issue down into a unit test it would
really help.
One thing you might try is to avoid sending messages from the error
queue while the
I'm attempting to send a REST message to an endpoint via the Restlet
component. The service requires you to send the session ID that was set as a
cookie for all subsequent requests - so I first authenticate, receive an ID
in the Set-Cookie header on the HTTP response, then need to send the same ID
Thanks Willem.
Whilst that change will solve my particular problem, wouldn't it be
better to have a more generic way to specify how the message should be
formatted?
Something like the equivalent of the formatter that can be passed in for
the log messages?
I'm happy to have a look at doing a p
Hi Willem,
I just updated to 2.3-SNAPSHOT and the selector now seems to work as
aspected. Good work :)
Bye,
Norman
2010/3/8 Willem Jiang :
> Hi Norman,
>
> I can reproduce you issue by use the ConsumerTemplate to get the message,
> and I filled a JIRA[1] for it.
>
> [1]https://issues.apache.org
Sorry, please ignore my typos in the route (I use constants for all
endpoints, but tried to simplify it for the post).
Does "no consumers available" mean the route isn't active or that there
aren't any available threads? Also, where does the message go exactly? Is
there a way to handle this cas
On Tue, Mar 9, 2010 at 5:24 PM, ankelee wrote:
>
> Sure, where do I find JIRA?
>
http://camel.apache.org/support.html
> Do you have any ideas to how I could work around this then. Should I use my
> own aggregationstrategy that pulls out the filename and moves it as it is
> read. The backup part
Sure, where do I find JIRA?
Do you have any ideas to how I could work around this then. Should I use my
own aggregationstrategy that pulls out the filename and moves it as it is
read. The backup part could be solved this way, but I'm very worried what to
do on errors.
--
View this message in con
On Tue, Mar 9, 2010 at 4:53 PM, ankelee wrote:
>
> Ok, so pollEnrich can be used for this. But the filelanguage doesnt seem to
> work fully when using this?
> I want the files to be consumed, ie moved to a backup directory on success
> and an error directory on exception. Shouldnt this work?
>
> f
Ok, so pollEnrich can be used for this. But the filelanguage doesnt seem to
work fully when using this?
I want the files to be consumed, ie moved to a backup directory on success
and an error directory on exception. Shouldnt this work?
from("quartz://report?cron=0/10+*+*+*+*+?")
.pollEnrich("file
Yes that works. Now I have another problem:
from("quartz://test?cron=0/10+*+*+*+*+?")
.to("file://incoming?move=backup&moveFailed=error")
.process(). etc.
I know the above doesn't work but it illustrates what I want.
If I understand the timer stuff correctly I need to swap the content of the
qu
On Tue, Mar 9, 2010 at 11:41 AM, titexe wrote:
>
> I have tested this method : and it's OK :
>
> below the class :
>
> public class File {
>
> public static void main(String[] args)
> {
> java.io.File file = new java.io.File("dcfr\\fabb\\test");
>
>
I have tested this method, and it's OK :
below the class :
public class File {
public static void main(String[] args)
{
java.io.File file = new
java.io.File("laptop\\testing\\OUT");
System.out.println("filename : " + file.getName());
I have tested this method : and it's OK :
below the class :
public class File {
public static void main(String[] args)
{
java.io.File file = new java.io.File("dcfr\\fabb\\test");
System.out.println(file.getName());
Sy
I froget it :), below the result for file test :
Class Java :
public class File {
public static void main(String[] args)
{
java.io.File file = new
java.io.File("laptop\\testing\\OUT\\test.txt");
System.out.println(file.getName());
There is no issue when I use camel 2.0.0 jars. this is happening only when I
use camel2.1.0 or camel 2.2.0.
anandsk wrote:
>
> Hi,
> I opened a JIRA for this issue. Can you please let me know if there is any
> workaround for this issue?.
> https://issues.apache.org/activemq/browse/CAMEL-2530
>
Hi
You have to test with a file also!
On Tue, Mar 9, 2010 at 11:44 AM, titexe wrote:
>
> I have tested this method, and it's OK :
>
> below the class :
>
> public class File {
>
> public static void main(String[] args)
> {
> java.io.File file = new
> java.io.File("
On Tue, Mar 9, 2010 at 11:11 AM, titexe wrote:
>
> Thank you for your reply
>
> I only used a UNC network instead of a local path like (c: \ eg)
>
> it is this the source of the problème?
>
Yeah I think so. I recon Windows cannot detect properly if its a file
on UNC share?
Can you try a test by
Thank you for your reply
I only used a UNC network instead of a local path like (c: \ eg)
it is this the source of the problème?
best regards,
titexe
Claus Ibsen-2 wrote:
>
> Well
>
> the JDK do not think the java.io.File is either a directory or a file
> :) Hence what is the file really?
Well
the JDK do not think the java.io.File is either a directory or a file
:) Hence what is the file really?
for (File file : files) {
// creates a generic file
GenericFile gf = asGenericFile(endpointPath, file);
if (file.isDirectory()) {
Hello,
I have a problem with file component : I receive this message in the log for
each file :
Ignoring for unsupported file type file: \\Laptop\testing\OUT\bvbvb.xml
below my route :
33 matches
Mail list logo