Hello,
I have a requirement to pull 24 atom feeds, process them in the same way via
xslt and then write the results to a file location which is slightly
different for each feed. This is fairly straight forward.
I was looking at the atom component as it looks almost perfect. But I
wondered if
t 12:02 PM, jpcook wrote:
>
> Hello,
>
> I have a requirement to pull 24 atom feeds, process them in the same way via
> xslt and then write the results to a file location which is slightly
> different for each feed. This is fairly straight forward.
>
> I was looking at the
ment to pull 24 atom feeds, process them in the same way
>> via
>> xslt and then write the results to a file location which is slightly
>> different for each feed. This is fairly straight forward.
>>
>> I was looking at the atom component as it looks almost perfect. But I
>
>>
>>
>> On Fri, Sep 25, 2009 at 12:02 PM, jpcook
>> wrote:
>>>
>>> Hello,
>>>
>>> I have a requirement to pull 24 atom feeds, process them in the same way
>>> via
>>> xslt and then write the results to a file location whi
the file.
>> Or a "direct" endpoint so you can do additional routing.
>>
>>
>>
>>
>> On Fri, Sep 25, 2009 at 12:02 PM, jpcook
>> wrote:
>>>
>>> Hello,
>>>
>>> I have a requirement to pull 24 atom feeds, proce
ks to the JDK executor services and then afterwards route
>>> the result to a file endpoint to store the file.
>>> Or a "direct" endpoint so you can do additional routing.
>>>
>>>
>>>
>>>
>>> On Fri, Sep 25, 2009 at 12:02 PM
from the atom feeds.
>>>> Then you can use dynamic URIs.
>>>>
>>>> And if you want that to route in parallel you can use the JDK
>>>> concurrency API for that as well.
>>>>
>>>> Sometimes the easiest stuff is to do that using regular java in
rval (quartz or timer)
>>>>>
>>>>> And then use a processor / bean with a consumerTemplate to consume
>>>>> from the atom feeds.
>>>>> Then you can use dynamic URIs.
>>>>>
>>>>> And if you want that to rou
>
>>>>>
>>>>> Claus Ibsen-2 wrote:
>>>>>>
>>>>>> Hi
>>>>>>
>>>>>> You can use a scheduler / timer to trigger a route at a certain
>>>>>> interval (quartz or timer)
>>>>>>
gt;>> Could I use the web-console to configure the dynamic uris or just a
>>>>>> normal
>>>>>> xml configuration file?
>>>>>>
>>>>>> About the last point, that is how I have done it in the past but just
>>>
the consumerTemplate?
>>>>>>>
>>>>>>> Could I use the web-console to configure the dynamic uris or just a
>>>>>>> normal
>>>>>>> xml configuration file?
>>>>>>>
>>>>>>> About
sumerTemplate.receive(uri, 1000);
>>>>>>> }
>>>>>>>
>>>>>>> And see that link Charles mentioned.
>>>>>>>
>>>>>>>
>>>>>>>>
>>>>>>>> Is th
;>> dynamic
>>>>>>>> URI
>>>>>>>>
>>>>>>>> private List uris;
>>>>>>>>
>>>>>>>> public void doSomething() {
>>>>>>>> // loop the list of dynamic u
om:staticUriHere?consumer.delay=5000")...
>>>>>>>>>
>>>>>>>>> Where as if you use a processor/bean/ with a consumer template you
>>>>>>>>> can do
>>>>>>>>>
>>>>>>&
sumer.delay which I think I
>>>>>>>>>>> would
>>>>>>>>>>> use.
>>>>>>>>>>
>>>>>>>>>> Yeah but the atom endpoint will then be configured with a static
>>>>>>>>
gt;>>>>>>>> The atom endpoint already has consumer.delay which I think I
>>>>>>>>>>>> would
>>>>>>>>>>>> use.
>>>>>>>>>>>
>>>>>>>>>>> Ye
>>>>>>>> wrote:
>>>>>>>>>>>>
>>>>>>>>>>>> thanks
>>>>>>>>>>>>
>>>>>>>>>>>> The atom endpoint already has consumer.delay which I think
ceive("atom://and some more here");
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
I'm using the camel atom component. During the initial startup of my
application I always see this WARN message in logs
DefaultTypeConverter WARN Thread-0 Overriding type converter from:
StaticMethodTypeConverter: public static java.util
Hi,
you appear to have defined a String ==> Date Converter using the @Converter
annotation:
com.emc.srm.thirdparty.camel.component.atom.AtomConverter.toDate(java.lang.String)
On the other hand as you make use of the camel-atom component (it's on the
classpath) Camel detects an equivalen
sw"));
Am I missing something here? Isn't the Atom component able to consume
protected feeds?
--
View this message in context:
http://camel.465427.n5.nabble.com/Basic-auth-with-Atom-component-not-working-tp5727360.html
Sent from the Camel - Users mailing list archive at Nabble.com.
> httpComponent.setHttpClientConfigurer(new
> BasicAuthenticationHttpClientConfigurer(false, "myuser", "mypassw"));
>
> Am I missing something here? Isn't the Atom component able to consume
> protected feeds?
>
I don't think so. I think its only plain http suppo
; httpComponent.setHttpClientConfigurer(new
> > BasicAuthenticationHttpClientConfigurer(false, "myuser", "mypassw"));
> >
> > Am I missing something here? Isn't the Atom component able to consume
> > protected feeds?
> >
>
>
; > at all.
>> >
>> > I tried both with URL params and by configuring the
>> HttpClientConfigurer,
>> > like this:
>> >
>> > HttpComponent httpComponent = (HttpComponent)
>> > getContext().getComponent("http");
>> &g
Yeah, I might do that. As always, it's time that's needed... :)
--
View this message in context:
http://camel.465427.n5.nabble.com/Basic-auth-with-Atom-component-not-working-tp5727360p5727408.html
Sent from the Camel - Users mailing list archive at Nabble.com.
25 matches
Mail list logo