Was able to resolve this issue...
The problem was our route started with an IMAP consumer which passed on the
header all the way to the SMTP endpoint which resulted in the exception. We
were able to work around this by adding this to the route:
Thanks,
Nap
--
View this message in context:
ht
We were actually able to solve this by implementing a
PollingConsumerPollStrategy, since the error occurs before any Exchange has
been created and therefore won't be handled by Camel's regular Exception
handling. Please see:
https://cwiki.apache.org/confluence/display/CAMEL/Polling+Consumer
https:
On Fri, Jun 10, 2011 at 9:53 PM, bvahdat wrote:
> Somehow I still don't get it right, but maybe it's because of my poor english
>
> Let's consider the example you mentioned with A and B and equate them with
> the example in the book (page 416). In this case A would be the route with
> the Id "webs
Hi
Mina has some codec for raw bytes (with stop bytes / fixed length etc).
So you may have to check their documentation.
But we love contributions at Apache so you are welcome to look into
this and help adding a new codec out of the box with raw bytes.
On Fri, Jun 10, 2011 at 4:57 PM, reekahdoh
Hi
Thanks. I have created a ticket to track this
https://issues.apache.org/jira/browse/CAMEL-4096
On Tue, May 24, 2011 at 6:43 AM, manoj.sahu wrote:
> Claus,
> My apologies for the delayed response. I got pulled out of that project.
> Anyway, I did the following
>
> public class HttpProducer ex
I created a ticket to track this
https://issues.apache.org/jira/browse/CAMEL-4097
On Sun, May 29, 2011 at 2:30 PM, Claus Ibsen wrote:
> Hi
>
> There is no such option currently.
> Fell free to create a JIRA for such new feature.
>
>
> On Wed, May 25, 2011 at 1:03 AM, Steve Lewis wrote:
>> I'm se
Hi
I have created a ticket to track this
https://issues.apache.org/jira/browse/CAMEL-4098
On Sat, Jun 11, 2011 at 8:58 AM, Claus Ibsen wrote:
> On Fri, Jun 10, 2011 at 9:43 PM, Jason Burkhardt wrote:
>> I dug into this a little further, here's the underlying behavior of the
>> HttpProducer:
>>
hi,
I am new to Camel. I find Camel a great framework.
Configuring routes to invoke processing methods using bean component is an
intutive way of organizing route.
My question -
Approach 1 - Can we use bean component (bean uris) several times?
Ex -
Approach 2 -
Morning Team
I have a system with 2 routes similar to the following:
HTTP Endpoint -> xmlToSql -> JDBC -> insert/update -> JDBC
POLL-Database -> JDBC -> update/delete -> JDBC
The 1st route receives an xml message via HTTP, then perfoms a query on the
database (to find if an entry relating to th
Hi Jason,
I just went though the HttpProducer code, and found if you don't close
the input stream from the message body, the temp file will never be
cleaned unless the camel application exits.
The CachedOutputSteam will not be closed when the exchange of the
HttpProducer oncomplicated, that
Does anyone have experience getting a Camel route to work from
ActiveMQ to HornetQ? I've been working on this and have not gotten it
to work properly yet.
Examples or proper documentation would be greatly appreciated.
Thanks,
Mark
I started with the camel-example-cxf from SVN and have the JAXWSClient and
JAXRSClient working to send a custom Object into Camel:
from(REST_ENDPOINT_URI).routeId("REST_ENDPOINT_URI")
.process(new MappingProcessor(new EventProcessorImpl(true)))
.wireTap(INPU
Hi,
I'm using camel bindy to read a csv file. I have a java bean declared
with fields corresponding to each csv value (using @Datafield ). However
when i have lesser fields in csv than the fields specified in bean i get the
following error:
java.lang.IllegalArgumentException: Some fields are m
Thanks Claus.
-Yes, I did follow that example, and am calling Main.run()
"System.out.println("Starting Camel. Use ctrl + c to terminate the JVM.\n");
main.run();"
The problem is ' the main just keeps on running' - which we don't want.
However, I need to terminate my VM when the FTP route is com
On Mon, Jun 13, 2011 at 5:25 PM, AnujK wrote:
> Thanks Claus.
>
> -Yes, I did follow that example, and am calling Main.run()
> "System.out.println("Starting Camel. Use ctrl + c to terminate the JVM.\n");
> main.run();"
>
> The problem is ' the main just keeps on running' - which we don't want.
>
Hi,
I'm using camel-jetty to run a server using a camel route
I need to add an ldap authentication (ApacheDS) to access to the service
I've something like this:
http://0.0.0.0:7080/myservice?handlers=securityHandler"/>
in my spring application context I have:
Hi,
Following a merger of two companies, what would be the best tool for
enterprise integration:
- Camel or XAware?
- or both for different needs?
It seems that there is some overlap with maybe XAware more focused in data
integration and Camel having a wider view of integration.
Your comments?
It just depends on your situation. Both are viable approaches...approach #1
will have slightly more overhead, but gives you greater flexibility because
your bean calls are more granular, etc.
If there is an EIP pattern that you'd like to leverage, break things up into
multiple calls and use Cam
Hi,
xaware is a commercial product and the ASF is a non commercial
organization. As such we try to avoid giving advice for or against using
a commercial product.
We would be more than happy though to answer any concrete question about
our Apache Camel technology.
Cheers,
Hadrian
On 06/13
I personally prefer the finer grained approach. There is a very small
overhead in terms of camel piping going fine grained and obviously
requires a bit more proficiency with camel (which comes quite quickly
though).
There are however imho huge gains stemming from encouraging a developer
to be
Take a look at http://activemq.apache.org/message-groups.html ActiveMQ
Message Groups ...it is designed to provide concurrent processing while
single threading related messages, etc...
Also, you can roll your own locking implementation using
http://camel.apache.org/hazelcast-component.html camel
Oscar, you might take that question to http://stackoverflow.com/
StackOverflow ...will likely get some lively discussion going
Oscar Picasso wrote:
>
> What are the strengths and weaknesses of both products in such a context?
>
-
Ben O'Day
IT Consultant -http://consulting-notes.com
--
V
Hi:
Following is a simple sayHello Webservice implemented by camel.
The webservice's request is configured to decrypt by server
certificate and response is configured to encrypt by client certificate.
If I use a bean as following, every thing is ok
Hi,
It looks like the camel application have trouble to load the configure file.
Can you double check the configure file?
Willem
On 6/14/11 12:04 AM, punisher wrote:
Hi,
I'm using camel-jetty to run a server using a camel route
I need to add an ldap authentication (ApacheDS) to access to the
Thanks Ben / Hadrian!
Fine grain seems the way to go preferable to implement EIP.
Thanks,
Deepa
-Original Message-
From: Hadrian Zbarcea [mailto:hzbar...@gmail.com]
Sent: Tuesday, June 14, 2011 3:32 AM
To: users@camel.apache.org
Subject: Re: Excess usage of Bean Component - performance i
What's request security header name ?
Maybe we can consider to filter the security header of the CXF message
in CxfHeaderFilterStrategy.
You can configure your own HeaderFilterStrategy by extends the
CxfHeaderFilterStrategy.
On 6/14/11 10:37 AM, ext2 wrote:
Hi:
Following is a simpl
Thanks Willem
It's the WS-Security header;
//soap 12
QName wsseQName = new QName(WSConstants.WSSE_NS, WSConstants.WSSE_LN);
//soap 11
QName wsse11QName = new QName(WSConstants.WSSE11_NS, WSConstants.WSSE_LN);
When security is enabled, we filter it. Then everything is ok.
> -original -
Thanks Willem
It's the WS-Security header;
//soap 12
QName wsseQName = new QName(WSConstants.WSSE_NS, WSConstants.WSSE_LN);
//soap 11
QName wsse11QName = new QName(WSConstants.WSSE11_NS, WSConstants.WSSE_LN);
When security is enabled, we filter it. Then everything is ok.
> -original --
Hi,
LoginModuleName must be equal to --> ldap ans as you are deploying
your project on Karaf, the ldap realm must be defined as a blueprint
file that you can deploy in 'deploy' directory
1) Blueprint file
http://www.osgi.org/xmlns/blueprint/v1.0.0";
xmlns:jaas="http://karaf.apache.or
On Mon, Jun 13, 2011 at 1:08 PM, woggle23 wrote:
> Morning Team
>
> I have a system with 2 routes similar to the following:
>
> HTTP Endpoint -> xmlToSql -> JDBC -> insert/update -> JDBC
>
> POLL-Database -> JDBC -> update/delete -> JDBC
>
> The 1st route receives an xml message via HTTP, then per
30 matches
Mail list logo