Hi Willem,
thanks for your feedback.
Imagine your are working on a patch and there you do some LOGGER.trace() ,
debug(), info() etc.
Wouldn't you prefer to see your *new* log statements directly in your IDE
while unit-testing *your* changes to verify if the patch's log entries seem
as you expect
we have (limited) success !!
Thanks very much - I can now receive plain text emails from google.
1) I had to download the springsource framework and put all of the .jar
files into the "optional" directory as well
2) some of the demo parameters have changed since camel 2.0. These include
"deleteP
Hi
I'm only care about the log when there are some thing is wrong or the
test is failed. So I'm OK to store the log in the file.
If you are working on the application code which use camel as a lib, you
can always override the log4j.properties in your application.
Willem
On 8/23/11 2:17 PM, b
thanks, i had make mistake with the namespace, so i debug it in cxf endpoint
with the exception.
and my code like:
DocumentBuilderFactory factory =
DocumentBuilderFactory.newInstance();
factory.setNamespaceAware(true);
Document doc = factory.newDocumentBuilder().parse("D:/
Hi Ben,
thanks for your reply.
To make it concrete, the pluginManagment entry in [1] would be something
like:
...
...
org.apache.maven.plugins
maven-surefire-plugin
true
true
...
...
And for example in the case of camel-core, the change in [2] would be *out
Hi
On Tue, Aug 23, 2011 at 5:05 AM, deloughry
wrote:
> Is there a way to indicate a fixed length bindy type in
> RouteBuilder.configure? Similar to -
>
> public void configure() throws Exception {
>
> from("file://target/inbox2")
> .unmarshal()
On Mon, Aug 22, 2011 at 10:40 PM, Karthz wrote:
> Also, does anybody know what the actual issue was and if there are any
> implications to it, if we do not upgrade to the latest version?
>
> We haven't seen any message failures due to this issue though.
>
There is absolutely no problem with that.
I haven't tried your approach myself, but I agree that being able to see the
output in the IDE console is ideal. I just modify the log4j.properties file
locally (and ignore it from SVN) to do this...but would be nice to avoid
doing this if possible...
bvahdat wrote:
>
> Hi,
>
> while running t
Hi all.
How do I set response headers when implementing REST using the CXFRS
component. I am new and learning camel by developing a small bundle for my
own use. I have developed services which return XML (from the exchange
body) when the requests cannot be serviced I use the class
javax.ws.rs.co
First, I'm pretty new to camel (and drools) and this question teeters between
the two. I've combed the Drools forum for an answer to this question, but
the discussions there relate more to using camel within drools - they are
not camel centric. So, my question:
I'm trying to find out the best be
Hi,
It looks like your route doesn't consume the parameter of the message
body from the camel-cxf consumer, and the CXF HolderOutInterceptor
complains about it.
You may need to set the response message in the MappingProcessor or add
another processor after the wrieTap(INPUT_TAP).
On 8/23/1
Also, does anybody know what the actual issue was and if there are any
implications to it, if we do not upgrade to the latest version?
We haven't seen any message failures due to this issue though.
Thanks.
-
- Karthz
--
View this message in context:
http://camel.465427.n5.nabble.com/MBean-R
We are using v2.7.1.
Do you remember in which version this was fixed?
Thanks.
-
- Karthz
--
View this message in context:
http://camel.465427.n5.nabble.com/MBean-Runtime-Exception-in-getRoutePolicyList-tp4717413p4724530.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Thanks for the direction , Travis. I was pretty much using the same
configuration you mentioned except the cache_connection option. Still, the
worry is the considerable difference between transactional clients and non
transactional clients, in my case, non transactional are 5 times faster than
tran
Thanks for the direction , Travis. I was pretty much using the same
configuration you mentioned except the cache_connection option. Still, the
worry is the considerable difference between transactional clients and non
transactional clients, in my case, non transactional are 5 times faster than
tran
Answering my own question #2, because I found a workaround:
Setting exception to null in aggreate() passes the unit test:
public Exchange aggregate(Exchange oldExchange, Exchange
newExchange) {
Throwable t = newExchange.getProperty(Exchange.EXCEPTION_CAUGHT,
Throwable.class);
I'm trying to catch exceptions in each of my multicast processors, log it,
and continue on.
I've learned from this forum that onException() is not the way to go,
because it applies to the entire route and not just to the multicast
portion, fine.
So from the camel docs I discovered I could impleme
I am trying to modify the cxf example in the camel source to write the
contents of the incoming CXF request object to a file:
public static final String INPUT_TAP = "seda:tap";
public static final String WRITE_TO_FILE = "direct:writeToFile";
public static final String PROCESSED_FILE_DIR =
Hi,
I've run into a similar problem before:
We were receiving MQ request messages (meant for InOut exchanges) even though
we were disabling the replyTo and expected MQ datagram messages (InOnly). The
incoming JMS headers had an IBM-specific header set to indicate the message
type and we were
On Mon, Aug 22, 2011 at 3:56 PM, christian.ohr
wrote:
> Claus, in fact I agree with your concern. I would e.g. never keep historic
> data, calculate trends etc. within Camel, or more generally, observing
> runtime data and derive "higher-order" information from it.
> The load statistic I have in m
I haven't worked with batches, but I did just spend a bunch of time
working with setting up Local JMS Transactions with ActiveMQ and
Camel. The big things I found were:
* Make sure you turn the prefetch policy down to zero if you are
consuming messages across different machines. You can do this
Hi,
while running the camel's own test cases one can't see the logs directly in
his IDE as always the 'org.apache.log4j.FileAppender' is used/active in
log4j.properties under camel-xyz/src/test/resources/log4j.properties. So you
always have to switch from your IDE to the redirected outputs in
targ
Yeah.. it works.. thank you so much..
but I tryed to access the map with [key] and did not work.. so, I think it
worked fine but I didn´t pay attention... sorry spend your time.. at least,
now I know that I can use the quotes in 2.9 ;)
thanks
--
View this message in context:
http://camel.4654
Hi,
Thanks for the comments. We will check cxf component.
With Best Regards,
Diwakar
--
View this message in context:
http://camel.465427.n5.nabble.com/Corba-component-tp4722230p4723426.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Claus, in fact I agree with your concern. I would e.g. never keep historic
data, calculate trends etc. within Camel, or more generally, observing
runtime data and derive "higher-order" information from it.
The load statistic I have in mind is pretty basic, fast to calculate
(thousands of updates in
Hi
Thanks for digging into this.
Feel free to create a JIRA ticket and attach your sample project etc.
On Mon, Aug 22, 2011 at 10:36 AM, Andreas Kuhtz wrote:
> Hi Claus,
>
> It's not working with JUnit4 either but I found the problem: The camel
> context is started too early.
>
> The system pr
On Mon, Aug 22, 2011 at 8:44 AM, Claus Ibsen wrote:
> On Sat, Aug 20, 2011 at 11:39 PM, garrydias wrote:
>> In my code, setters n getterns are ommited... I already have getProperty
>> method =/
>>
>>
>> i havn´t tried this:
>> ${in.body.property.get[key]}
>>
>> can it works??
>>
>
Hi
I just add
You can find my unit test here[1]
[1]http://svn.apache.org/viewvc?rev=1160189&view=rev
On 8/22/11 9:21 PM, darkAR wrote:
I'll give it a whirl - thanks for your reply!!!
--
View this message in context:
http://camel.465427.n5.nabble.com/Injecting-file-filter-via-Guice-tp4705927p4723397.html
Se
I'll give it a whirl - thanks for your reply!!!
--
View this message in context:
http://camel.465427.n5.nabble.com/Injecting-file-filter-via-Guice-tp4705927p4723397.html
Sent from the Camel - Users mailing list archive at Nabble.com.
I do not believe the port is already taken as I am able to connect and
communicate at this address and on this port using java.net.Socket. I have
worked around this issue by implement a custom Camel component that uses
java.net.Socket and bypasses Netty completely. I believe this is a
limitation of
Hi,
Based on the error, it seems that the port in question is already taken by
the another process and hence you cannot seem to set up a netty tcp consumer
against the given port.
Can you try another port.
Cheers,
Ashwin...
-
-
Ashwin
Hi,
I just wrote a simple test to reproduce the error, and found out current
GuiceCamelContext doesn't take JndiBind as a part of registry element
itself. You have to create the jndi context yourself like this[1].
[1]http://code.google.com/p/guiceyfruit/wiki/JNDI
On 8/17/11 5:42 AM, darkAR w
Can someone please help or provide pointers ? The documentation indeed talks
about batches but cant see how is it feasible using camel batching?
--
View this message in context:
http://camel.465427.n5.nabble.com/Camel-Transaction-performance-use-of-batches-tp4720389p4723156.html
Sent from the C
I'm using 2.8.0
--
View this message in context:
http://camel.465427.n5.nabble.com/inProgressRepository-not-cleaned-in-GenericFileEndpoint-tp4722713p4723151.html
Sent from the Camel - Users mailing list archive at Nabble.com.
On Mon, Aug 22, 2011 at 2:03 PM, aurelienmasse wrote:
> Hello Claus !
>
> thanks for the quick answer.
>
> I've changed the code to use a consumerTemplate instead of a
> pollingConsumer, so as to use the doneUoW method. So the changed code is :
>
> String uri = buildFullUri(baseUrl, fileName);
>
>
Hello Claus !
thanks for the quick answer.
I've changed the code to use a consumerTemplate instead of a
pollingConsumer, so as to use the doneUoW method. So the changed code is :
String uri = buildFullUri(baseUrl, fileName);
ConsumerTemplate template = exchange.getContext().createConsumerTempla
Hi,
Have you checked out the SceduleRoutePolicy in Camel.
http://camel.apache.org/simplescheduledroutepolicy.html
http://camel.apache.org/simplescheduledroutepolicy.html
http://camel.apache.org/cronscheduledroutepolicy.html
http://camel.apache.org/cronscheduledroutepolicy.html
This should all
On Mon, Aug 22, 2011 at 11:38 AM, Gert Villemos wrote:
> I'm using an omnipotent file component to read through a potentially very
> large directory structure (days of processing).
>
> To limit the load of the system and not interfere with existing systems, I
> would like to limit the time that th
Ah read the javadoc of the consumer template, the doneUoW
http://camel.apache.org/maven/current/camel-core/apidocs/org/apache/camel/ConsumerTemplate.html
We should actually add same details to the PollingConsumer API javadoc.
Since you return an Exchange you need to manually done its UoW when
you
I'm using the released version 2.8.0
Below is a code snippet of what i'm currently doing :
String uri = buildFullUri(baseUrl, fileName);
GenericFileEndpoint endpoint = (GenericFileEndpoint)
exchange.getContext().getEndpoint(uri);
PollingConsumer consumer = endpoint.createPollingConsumer();
co
On Mon, Aug 22, 2011 at 11:22 AM, aurelienmasse
wrote:
> Hi
>
> I've got a use case where i need to enrich a message by polling a FTP server
> so as to get files like "request_1.xml", "request_2.xml", etc.
> This FTP server acts as a resource provider, and i want to be able to get
> the appropriat
Hi,
This is a good idea. I'll probably start working on this component next
month.
Regards,
On Mon, Aug 22, 2011 at 12:32 PM, Willem.Jiang [via Camel] <
ml-node+4722741-936085955-45...@n5.nabble.com> wrote:
> We love contribution, and I cannot say no if you have a plan to
> implement a new came
I'm using an omnipotent file component to read through a potentially very
large directory structure (days of processing).
To limit the load of the system and not interfere with existing systems, I
would like to limit the time that the file component runs, for example to be
from 22.00 until 06.00 t
We love contribution, and I cannot say no if you have a plan to
implement a new camel-corba component. You may take a look at the
camel-rmi component if you want to start to implement a new one :)
On 8/22/11 2:54 PM, M.Ismail wrote:
Hi,
Although, it is not documented, you can still use the C
Hi
I've got a use case where i need to enrich a message by polling a FTP server
so as to get files like "request_1.xml", "request_2.xml", etc.
This FTP server acts as a resource provider, and i want to be able to get
the appropriate file every time a message is handled (the request number is
held
Hi,
I suggest you to create the CamelContext yourself instead of using the
Main from camel.
It could be more handy for you to inject the customer properties component.
On Tue Aug 16 22:15:09 2011, jason.parr wrote:
I want to configure the camel context's list of property file locations
dynam
On Mon, Aug 22, 2011 at 10:41 AM, julian+activ...@dotr.com
wrote:
> Claus, thanks for the pointers !
>
> However, I still don't know where to get camel-mail.jar from. Is there a
> components download area that I am just not seeing ?
>
You can download it from maven central
http://repo2.maven.org/
Claus, thanks for the pointers !
However, I still don't know where to get camel-mail.jar from. Is there a
components download area that I am just not seeing ?
I am running the standalone activemq server, with the built-in camel.
The maven dependecy xml should be put into
./webapps/camel/META-I
Hi Claus,
It's not working with JUnit4 either but I found the problem: The camel
context is started too early.
The system property maybeStartCamelContext is set to true and this causes
the SpringCamelContext to be started in maybeStart(). If you set the
maybeStartCamelContext to false the debugge
On Sun, Aug 21, 2011 at 10:26 PM, christian.ohr
wrote:
> Hi,
>
> I consider runtime monitoring and manageability as one of the key features
> for any real-world usage of "headless" integration solutions. Camel has good
> JMX support (and improving), but the exposed attributes may not always be as
Yes, CXF will try to load the WSDL from the classpath.
On 8/20/11 5:45 PM, xiangqiuzhao wrote:
what's the mean that uri set by "wsdlURL=classpath:IWSService.wsdl" ?
it's can find IWSService.wsdl file in the whole classpath?
--
View this message in context:
http://camel.465427.n5.nabble.com/cx
Hi
On Mon, Aug 22, 2011 at 9:04 AM, julian+activ...@dotr.com
wrote:
> I have been trying all weekend now to achieve what I thought would be a
> simple task.
>
> I want to poll my gmail account, retrieve any unread messages (leaving them
> on the account) and send the message to an ActiveMQ queue.
It sounds good. We can make this load calculation strategy be plug able,
then it could be easy to replaced :)
On 8/22/11 4:26 AM, christian.ohr wrote:
Hi,
I consider runtime monitoring and manageability as one of the key features
for any real-world usage of "headless" integration solutions. C
I have been trying all weekend now to achieve what I thought would be a
simple task.
I want to poll my gmail account, retrieve any unread messages (leaving them
on the account) and send the message to an ActiveMQ queue.
I have got so far as to get camel to attempt to load the smtps "thing", but
t
54 matches
Mail list logo