It works! Thanks!
--
View this message in context:
http://camel.465427.n5.nabble.com/File-Endpoint-problem-in-Camel-2-10-tp5720346p5720348.html
Sent from the Camel - Users mailing list archive at Nabble.com.
On Tue, Oct 2, 2012 at 8:08 AM, jctmendoza wrote:
> Hi,
>
> Using Camel 2.9.1, our defined file endpoint is working correctly; the file
> name and contents are correct.
> When we upgraded to 2.10.0, the functionality broke.
> The file name (of the output file) is still correct, but it now contains
Hi,
Using Camel 2.9.1, our defined file endpoint is working correctly; the file
name and contents are correct.
When we upgraded to 2.10.0, the functionality broke.
The file name (of the output file) is still correct, but it now contains the
file name itself.
Below is the endpoint and route:
Hi All,
I have a route that gets some data from a remote we service and writes to a
file:
from("file:src/data?noop=true")
.to("cxf://http://www.webservicex.net/stockquote.asmx?wsdlURL=src/main/resources/META-INF/stockquote.wsdl&serviceName={http://www.webserviceX.NET/}StockQuote&portName={http://
It is. Did you checked out the links I sent?
Sent from a mobile device
Am 02.10.2012 00:08 schrieb "suralk" :
> Hi Christian,
> I am trying to get this done without using spring or extending the test
> class. Isn't this possible?
>
>
>
> --
> View this message in context:
> http://camel.465427.n5
I forget to add that it might take between 10 seconds to (7) hours before
Server 3 completed the processing and generate the output file, although i
not sure whether these information is important in considering the design.
--
View this message in context:
http://camel.465427.n5.nabble.com/Bes
Hello Christian,
Thanks for you feedback.
On Mon, Oct 1, 2012 at 4:42 AM, zuff <[hidden email]> wrote:
> Hi All,
>
> I would like to seek advise on what is the suggested guideline for
> handling temporary jms topic in a EAR backing bean.
>
> The scenario is as such.
>
> Server 1:
> One e
Thanks for your response. Unfortunately I don't have JMS as an option in
this case.
I suppose I'll just use a bean and xstream to save/load the information (was
hoping for some oft found camel magic). thanks again.
--
View this message in context:
http://camel.465427.n5.nabble.com/Message-He
Ok, feel free to open a JIRA at [1] to improve this.
[1] https://issues.apache.org/jira/browse/CAMEL
Best,
Christian
On Mon, Oct 1, 2012 at 10:58 AM, London12345 wrote:
> Thanks Christian .
>
> I trired using @DataField(pos=1),however if there are 3 elements in the
> row,Camel forcing to defi
Do you run Camel 2.9.2 with Java 7? Camel supports Java 7 starting with
2.10.
Which exact Java version do you use? If it's not the latest one, could you
upgrade to the latest one and test it again?
Is the XSD in the same bundle or in a different one?
As we do not have an OSGI integration test for
Any reason not to use JMS?
If you want to use the file component, you have to add the message headers
(end exchange properties) into the message body by yourself, as only the
body will be written to the hard drive. You can use a processor or bean to
archive this.
Best,
Christian
On Mon, Oct 1, 20
If you use Karaf or ServiceMix, you can leverage on the HTTP OSGI service.
You have to configure your Jetty instance in jetty.xml. In your Camel
endpoint, you will only use the context path like "/services/MyService"
instead of "http://0.0.0.0:8443/context/services/MyService";.
By default, CXF will
Implement your own org.apache.camel.processor.interceptor.TraceFormatter.
Check out [1].
[1] http://camel.apache.org/tracer.html -> Using Custom Formatter
Best,
Christian
On Mon, Oct 1, 2012 at 7:34 AM, Gnanaguru S wrote:
> Hi
>
> Can I get a suggestion for storing the trace messages to a data
"db" is the name (Spring bean or registry id) of the data source you have
to provide.
[1] shows you an example.
[2] shows how to assign the bean to the registry.
[1]
https://svn.apache.org/repos/asf/camel/trunk/components/camel-jdbc/src/test/java/org/apache/camel/component/jdbc/AbstractJdbcTestSup
Hi All,
I am trying to use a SQL Server database in a camel route using jdbc
endpoint as follows:
from("timer://foo?period=6").setBody(constant("select * from
customer")).to("jdbc:microsoft:sqlserver://SOBSQL01;DatabaseName=MyDatabase")
.to("file://data/inbox?fileName=t.txt")
Hello Zuff!
Please find my comments inline.
Best,
Christian
On Mon, Oct 1, 2012 at 4:42 AM, zuff wrote:
> Hi All,
>
> I would like to seek advise on what is the suggested guideline for
> handling temporary jms topic in a EAR backing bean.
>
> The scenario is as such.
>
> Server 1:
> On
Hi, am trying to pass information between two camel apps via file. I
envisioned a way to redirect a message (body and headers) to a file and then
have the second app consume that file as a message (just as if it had
originated on the second system).
I tried just sending the original message to
Hi
I noticed that most endpoint consumers do something like the following:
try{
getprocessor().process(exchange);
} catch (exception e){
getExceptionHandler.handleException();
}
Assume I have a route which consumes data from an endpoint whose consumer
uses the above logic. Also assume that
Current Camel version: 2.10.1
We are currently seeing an issue with the doTry/doCatch camel routing in our
Spring XML configuration. The following is an example of our usage:
java.lang.Exception
When an exception occurs in "r
Tried set loaderCache=false and contentCache=false, still could not get the
propertiesFile to work.
But now I consistently see error "...java.io.FileNotFoundException:
/myfolder/dummy.vm (The system cannot find the file specified)...", not
previouse stated that couid not find file from classpath
On Mon, Oct 1, 2012 at 5:07 PM, wanggang1 wrote:
> Thanks for all your timely replies.
>
> I loaded template file from disk instead from classpath by using URI
> "velocity:file://myfolder/my_template.vm?propertiesFile=velocity/velocity.properties".
> But I have to use the full path to the template
Folks ,
I am new to Camel and this is first time I am playing with Camel . I noticed
in all examples especially the one which has Jetty Consumer endpoint in FORM
URI has port # hardcoded .
Is there any way to externalize this port # ? Rather we would like this URL
to have the port # which is con
Thanks Cluas,
It helped me to solve one of problem partially,
How ever I want to check is there any messages that are pending on
particular queues and wait until all queue are cleared up and no route is
processing any messages.
As I can check this with inflightrepository , but I want to check
Thanks for all your timely replies.
I loaded template file from disk instead from classpath by using URI
"velocity:file://myfolder/my_template.vm?propertiesFile=velocity/velocity.properties".
But I have to use the full path to the template file. I could not seem to
get the Velocity property "fi
Hi I have the problem, that I cannot configure a route with a validator.
The route is configured in an OSGI-Bundle which should run on an Virgo
Server.
The Route Definition is:
from(getRouteStartUri()).to("validator:classpath:resources/Msg_template.xsd").to(getRouteEndUri());
But alway get the fo
Hi
You can also get the InflightRepository, and see the inflight counts
per routes or per context.
There is a size method for that.
Also you can check the route status. There is a getRouteStatus on CamelContext.
And then you can also check on the broker side, it has many JMX stats
about its stat
On Mon, Oct 1, 2012 at 12:43 PM, Sri wrote:
> Hi,
>
>
> I am using the camel in the web application which is deployed on tomcat 6.
>
> I wanted to bringdown the application with a single button and don't want
> loose any data.
> Is there any steps that I need to follow inorder not to loose any dat
Hi,
I wanted to get information whether the route is active or not. what I mean
is, is there any way that I can find that route is consuming messages and
the messages are under processing for that route.
What I want to know about it, we actually stop sending messages to
particular queue(A) and t
Hi,
I am using the camel in the web application which is deployed on tomcat 6.
I wanted to bringdown the application with a single button and don't want
loose any data.
Is there any steps that I need to follow inorder not to loose any data on
the routes..
At the moment I am using context.sto
Hi Ralf
On 01/10/12 07:50, Ralf Steppacher wrote:
Willam,
thanks for the hint. I shall look into camel-cxfrs.
Could you give me a usage example of the cxfbean component? What would
be a scenario where immediate marshalling to the client-requested format
is desired? Is the idea that all work nec
Thanks Claus, for the reply.
I thought so, but then for the time-being my problem is solved and maybe in
future we can see some new component in Camel for this as I believe JMS
(with peristent store) is a reasonable fallback for retrying in case any of
the services being unreachable/down.
Cheers,
Thanks Christian .
I trired using @DataField(pos=1),however if there are 3 elements in the
row,Camel forcing to define all the fields like
@DataField(pos=1)
private String a;
@DataField(pos=2)
private String b;
@DataField(pos=3)
private String c;
If I miss one position then getting error messa
On 30 September 2012 11:57, Claus Ibsen wrote:
>> [0]: https://issues.apache.org/jira/browse/CAMEL-5456
>>
>
> I finally got some time to help with this, and have fixed the issue reported.
>
> I also updated the error handler docs to better reflect the scopes for
> Java DSL vs XML DSLs.
> http://c
After several tests we have figured out the cause of issues involving NPEs.
In general within this problem we deal with three bundles: camel-core,
logback-classic and our custom bundle that contains custom logback appender.
The described problem occurs when the bundles are installed via different
t
34 matches
Mail list logo