On Fri, Feb 1, 2013 at 8:25 PM, gilboy wrote:
> Hi
>
> I have a use case were I receive messages from a subsystem via a JMS topic.
> My applications needs to enrich these messages, aggregate them together and
> deliver them to another system via file based integration every 15 mins.
>
> I was thin
On Fri, Feb 1, 2013 at 6:30 PM, am.raheem wrote:
> We are setting the clientId & durableSubscriptionName at CAMEL JMS
> component level. If we use same component for all the topics , definitely
> there will be SUBSCRIPTION_IN_USE error will come. So, i am using different
> component for every topi
Hi Aki,
The stream is supposed to be read once. If you want to read it twice, you need
to call the reset method. In camel we have an intercepter which will call the
reset method before routing the exchange to the other endpoint if you enable
the stream cache feature.
发自我的 iPhone
在 2013-2-2,上午
I don't know about best practices, often depends on use cases, but Camel
will also cache the result of the registry lookup, if the bean is a
singleton.[1]
For instance you may not want to autowire all these services into your
router, or even know which ones to autowire, then Camel can look it up in
Hi Claus,
I apologise for not giving useful information in my previous email.
I've resolved my issue - it was PEBKAC, the message was failing to
return because what I was returning was not serializable. I'd
forgotten that inner classes (in this case, a comparator) retained
references to their owni
Hi folks,
I'm having a bit of an issue with accessing a file via a CAMEL route. I'm
trying to proxy a call to fetch the following file. The file I'm using to
illustrate this is a simple jpeg hosted on gravatar:
http://0.gravatar.com/avatar/9b62405c463e6be04e6578ae129a6270
When I git this directl
Hi,
When using Camel's CachedOutputStream, I thought I could get the
StreamCache over its getStreamCache() or the InputStream over its
getInputStream() multiple times and read the cached data independently
from them. But by looking at the implementation, this seems to be not
the case.
Am I correct
Hi
I have a use case were I receive messages from a subsystem via a JMS topic.
My applications needs to enrich these messages, aggregate them together and
deliver them to another system via file based integration every 15 mins.
I was thinking of using the aggregation eip and having the aggregatio
Ahhh. Sorry, didn't see the "durable subscription" part there.
On Feb 1, 2013, at 12:30 PM, am.raheem wrote:
> We are setting the clientId & durableSubscriptionName at CAMEL JMS
> component level. If we use same component for all the topics , definitely
> there will be SUBSCRIPTION_IN_USE err
We are setting the clientId & durableSubscriptionName at CAMEL JMS
component level. If we use same component for all the topics , definitely
there will be SUBSCRIPTION_IN_USE error will come. So, i am using different
component for every topic.
On Fri, Feb 1, 2013 at 11:23 AM, James Carman-2 [vi
Ok, right, so even if I got the log4j or slf4j LogFactory to work, the
finest grain category would still map to one of their "channels",
rather then per-class. I wish they hadn't chosen to implement a
log-adapter-adapter...
On Fri, Feb 1, 2013 at 11:02 AM, James Carman
wrote:
> The problem you'
I don't think that was what they were asking. You shouldn't have to use a
specific component for each topic.
On Feb 1, 2013, at 12:19 PM, "am.raheem" wrote:
> Hi,
>
> It was my problem. I was using same jms component for three different
> topics. That's why i was getting that error. Now I m
Hi,
It was my problem. I was using same jms component for three different
topics. That's why i was getting that error. Now I made three different
camel jms components it worked.
Thanks for the suggestion to use durableSubscriber.
Thanks,
Raheem
On Fri, Feb 1, 2013 at 9:33 AM, Claus Ibsen-2 [via C
James,
Thanks for this - I deploy with Spring, but for small POC type stuff,
I usually like the convenience of having all the code in one place,
including wiring the collaborators.
-Chris
On Fri, Feb 1, 2013 at 11:00 AM, James Carman
wrote:
> Chris,
>
> Something like this works for me (had
Ok, I notice now that my solution only works when adding
streamCache="true" to my (Spring xml configured) route. That makes
sense in order to be able to manipulate the message, but I still don't
understand why all these pieces seem to work, nor if this is the
correct way to enrich a soap message wh
The problem you're facing is that they use a limited set of "channels" for
their logging:
http://openjpa.apache.org/builds/1.0.2/apache-openjpa-1.0.2/docs/manual/ref_guide_logging.html#ref_guide_logging_channels
So, you're kind of stuck with those knobs to turn. It is rather verbose, I'll
agre
Hi
On 01/02/13 15:54, Vincent Nonnenmacher wrote:
It is your REST container responsibility to make the routing from an URI to
a server class/method invocation.
The camel part of the construct focus only on this URI.
You could use a routing strategy that map by name some URI parts to invoke
a na
Chris,
Something like this works for me (had to change it a bit to sanitize it):
http://java.sun.com/xml/ns/persistence";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="http://java.sun.com/xml/ns/persistence
http://java.sun.com/xml/ns/persist
This is exactly what I need, but the exchange does not seem to have
HttpMessage within it. I tried both versions of HttpMessage (http and
http4) that camel supports. Here is my code:
//import org.apache.camel.component.http4.HttpMessage;
import org.apache.camel.component.http.HttpM
Just to clarify, for me, these logging settings work:
-= or, for SQL =-
But the first one (JDBC logging) is too verbose - it's either all or
nothing, which is why I wanted to setup the slf4j or log4j backend to
be able to have more fine-grained settings. If you've been able to
figure that
Hey,
I'm having a hard time understanding the dataformats in cxf
(http://camel.apache.org/cxf.html#CXF-Thedescriptionsofthedataformats)
and what they are for.
The use case I'm implementing is like the cxf proxy example
(http://camel.apache.org/cxf-proxy-example.html) except that I want to
add som
There are a few possibilities when using spring beans in your camel routes. But
I was wondering what the common best practice is.
1) Use the class in the .bean method:
from("direct://start")
.bean(MyService.class, "process")
.end();
Normally Camel will then create a new instance of MyService cla
James,
I just replied to your message from last night - I got it working by
using your latest suggestion plus enabling DBCP connection pooling,
although I don't know why pooling should matter.
I notice that you were able to get OpenJPA logging to work - I'd sure
be interested in seeing your persi
James,
This latest suggestion works, but I also configured connection
pooling, so I went back to your prior suggestion of using JpaTemplate
and the nested anonymous classes and that now works also.
I know what you're thinking - why didn't I use connection pooling to
begin with? Well since I had
Hi
Do you have any connection pooling or some sort?
On Fri, Feb 1, 2013 at 4:25 PM, am.raheem wrote:
> Hi
>
>
> When Iam trying with the below durable configurations
>
>
>
>
> ref="jmsConnectionFactory"/>
>
>
>
>
>
Rob, just drop it. You know very well James is right. A similar
complaint was made just a few days ago about Fuse's behavior. This is
nothing new, there is a long list of abuses from Fuse over quite a few
years.
James, I would not include RedHat here. RedHat employees are involved in
other AS
Hi
When Iam trying with the below durable configurations
I am getting the below error:
Caused by: com.ibm.mq.MQException: JMSCMQ0001: WebSphere MQ call failed with
compcode '2' ('MQCC_FAILED')
James - that's a strong statement. I think the Camel PMC is more diligent than
most in protecting its diversity and marks.
On 1 Feb 2013, at 14:44, James Carman wrote:
> I'm not a Camel committer or PMC member, but I *am* an ASF member and I find
> it troubling how much Fuse/RedHat uses these
I'm not a Camel committer or PMC member, but I *am* an ASF member and I find it
troubling how much Fuse/RedHat uses these lists to promote themselves (like a
picture of a camel wearing a red hat). Hopefully they don't use their
influence in any other inappropriate ways.
On Feb 1, 2013, at 9:09
Is there something like "browse" option (see
http://qpid.apache.org/books/0.14/Programming-In-Apache-Qpid/html/ch02s04.html
section "2.4.3.3. browse" for details) for amqp endpoint? I can't find
it.
I also think this is not acceptable.
Christian
Am 01.02.2013 15:09, schrieb James Carman:
A picture of a camel with a red hat on with the words "Apache Camel." Really?
On Feb 1, 2013, at 8:59 AM, Charles Moulliard wrote:
Hi,
For our supporters/fans and people who belong in Apache Camel pr
A picture of a camel with a red hat on with the words "Apache Camel." Really?
On Feb 1, 2013, at 8:59 AM, Charles Moulliard wrote:
> Hi,
>
> For our supporters/fans and people who belong in Apache Camel project, I
> would like to inform you that we have created a Google Plus community for
>
+1
On 1 Feb 2013, at 14:02, James Carman wrote:
> Please don't use this Google Plus community for project-related discussions
> (design discussions, etc.), though. That needs to be on the mailing lists in
> order to keep the community in-the-loop.
>
>
> On Feb 1, 2013, at 8:59 AM, Charles Mo
Please don't use this Google Plus community for project-related discussions
(design discussions, etc.), though. That needs to be on the mailing lists in
order to keep the community in-the-loop.
On Feb 1, 2013, at 8:59 AM, Charles Moulliard wrote:
> Hi,
>
> For our supporters/fans and peopl
It should be fixed with CAMEL-6020[1] recently.
Please feel free to verify it with last Camel 2.10.x SNAPSHOT
[1]https://issues.apache.org/jira/browse/CAMEL-6020
--
Willem Jiang
Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http://www.fusesource.com | http://www.redhat.com
Blog: http:
Hi
I suggest to check for JARs with neethi. And maybe there is a JAR in
WEB-INF/lib that needs to be removed.
Or use an older release.
I guess maybe WebSphere comes with neethi JAR out of the box, that may
cause this problem?
On Thu, Jan 31, 2013 at 5:26 AM, Duke wrote:
> Hi All,
>
> I am very
On Tue, Jan 29, 2013 at 6:17 PM, Vishal Changrani
wrote:
> Hi,
> I am in the process of upgrading Camel from 2.9.2 to 2.10.3 and I notice
> that the validatoin component keeps failing with the exception -
> "Source parameter of type 'javax.xml.transform.stream.StreamSource' is not
> compatible
Hello there,
just wonder how to set proxy excludes on http component asI didn't find any
note in the docs.
Proxy excludes that are globally set (e.g.
System.setProperty("http.nonProxyHosts", "localhost") are ignored by the http
camel component.
Any suggestions?
regards
Christian
On Fri, Feb 1, 2013 at 1:00 PM, Walzer, Thomas
wrote:
> Isn´t that the same as the camel-version? If not: How do I find out? Camel
> version is 2.10.3
>
You can do a features:info camel-beanio I think to show the details.
Also you can do a list in the shell to see all the bundles installed.
And
Isn´t that the same as the camel-version? If not: How do I find out? Camel
version is 2.10.3
Am 01.02.2013 um 12:31 schrieb Claus Ibsen :
> On Fri, Feb 1, 2013 at 12:22 PM, Walzer, Thomas
> wrote:
>> Hi Claus,
>>
>> I tried with 2.2.9:. same result.
>> I did a vanilla karaf install+features:i
Chris,
Here's my complete class:
public class JpaTest
{
public static void main(String[] args)
{
ClassPathXmlApplicationContext ctx = new
ClassPathXmlApplicationContext("classpath:/META-INF/spring-beans.xml");
final EntityManagerFactory factory =
ctx.getBean(EntityManage
On Fri, Feb 1, 2013 at 12:22 PM, Walzer, Thomas
wrote:
> Hi Claus,
>
> I tried with 2.2.9:. same result.
> I did a vanilla karaf install+features:install camel camel-blueprint
> camel-beanio. Am I missing something here?
>
What version of beanio did you try? There is also a 2.0.3 release I think
Hi Claus,
I tried with 2.2.9:. same result.
I did a vanilla karaf install+features:install camel camel-blueprint
camel-beanio. Am I missing something here?
Regards, Thomas.
Am 31.01.2013 um 13:48 schrieb Claus Ibsen :
> Hi
>
> Can you try with Karaf 2.2.x?
>
>
> On Mon, Jan 28, 2013 at 2:04
Hi,
We have a requirement wherein we need to insert/update DB record after the
last route in the context is executed.
The solution has to be generic in the sense the last route detail (id) would
have to be read from the properties file and then insert/update stmt has to
be executed.
We are plann
Thank you Claus. I get your point. I want to invoke a rest service hosted in
a remote server and hence should be putting the rest url in as a to
endpoint.
But i am unable to get through the format of the url to be passed as a TO
endpoint. Firstly i am using cxfrs component to invoke the rest servi
45 matches
Mail list logo