Will explain tomorrow morning how you can do that easily with your fusr rsb
server !
Sent via BlackBerry offered by Proximus
-Original Message-
From: Christian Mueller
Date: Thu, 10 Feb 2011 10:57:55
To:
Reply-To: users@camel.apache.org
Subject: Re: Problem with multiple CXF services u
This has been implemented in karaf 2,2 which will be released soon
Sent via BlackBerry offered by Proximus
-Original Message-
From: Christian Müller
Date: Thu, 10 Feb 2011 18:43:04
To:
Reply-To: users@camel.apache.org
Subject: Re: Problem with multiple CXF services using the same https
I have committed a modification in camel bindy to be able to work with ",".
that means that we use as separator the double quotes --> '","'
See test class
https://svn.apache.org/repos/asf/camel/trunk/components/camel-bindy/src/test/java/org/apache/camel/dataformat/bindy/csv/BindyDoubleQuotesCsvU
Do you want also that the CSV generated contain double quotes like
""," " ?
KR,
charles
Claus Ibsen-2 wrote:
>
> Hi
>
> On Tue, May 4, 2010 at 8:57 AM, Attilio Donà
> wrote:
>>
>> Hi all,
>>
>> I've to read a csv file and I want use camel to do this. Camel bindy
>> seems
>> to me tha
I have committed a fix on camel
You can test it using the camel-2.4-SNASPHOT
and you will have now an error :
@Section and/or @KeyValuePairDataField have not been defined !
KR,
Charles
Nick Heudecker wrote:
>
> Thanks for the response. There appear to be two bugs with Bindy 2.3.0.
> First
tionFailedException: File
operation failed: null someftpserver.com. Code: 0
The FTP server is a virtual one so the connection cannot be established.
Kind regards,
Charles
cmoulliard wrote:
>
> Those packages are present in the JDK 6 and should be loaded automatically
> by karaf (felix
> Hi Charles,
>
> Maybe you forget to copy the message header from the in message to out
> message in "bean:webservices".
>
> Willem
>
> cmoulliard wrote:
>> Hi,
>>
>> I would like to know if I do something wrong or is it a bug ?
>>
>
Hi,
I would like to know if I do something wrong or is it a bug ?
In the following route, a header is created to define the origin of the
route, the header is well added in first steps of the process (this is
confirmed by the trace) but lost when the message go the queue ?
if (oldExchange.getOutMessage(false)!= null) {
>return oldExchange;
> } else {
>return newExchange;
> }
> }
> }
>
> Willem
>
>
>
> cmoulliard wrote:
>> Many thanks Willem. In fact, I tried to use the mult
Hi,
We are at the crossroads ("à la croisée des chemins in french"). It will be
very difficult to maintain Camel projects runnable in OSGI and non-OSGI
environments. OSGI projects are really specific because they depends on
bundles, packages must be exported, imported in the MANIFEST file, proced
lticast in the LoanBroker
> Example[1] of Camel.
>
> [1]http://cwiki.apache.org/CAMEL/loan-broker-example.html#LoanBrokerExample-Implementationwithwebservice
>
> Willem
>
>
>
> cmoulliard wrote:
>> To solve the error returned and as proposed by Claus, I have modified my
>
Hi,
I post this message to ask to the users 's community if people are
interested of a Camel / ServiceMix / Cxf porting to .NET (using C# or VB.NET
as language) ?
Regards,
-
Charles Moulliard
SOA Architect
My Blog : http://cmoulliard.blogspot.com/ http://cmoulliard.blogspot.com/
--
Vie
l.bind.v2.runtime.MarshallerImpl.write(MarshallerImpl.java:328)
... 25 more
Caused by: javax.xml.bind.JAXBException: class java.util.HashMap nor any of
its super class is known to this context.
at
com.sun.xml.bind.v2.runtime.JAXBContextImpl.getBeanInfo(JAXBContextImpl.java:556)
Hi,
I have defined the following routes in camel :
webservice
Hi,
I have the following question :
Under Servicemix4, a spring XML file exists to configure activeMq
(activemq-broker.xml) as a broker. To use it, you have to put this file in
the deploy directory of ServiceMix 4 and SMX will automatically deploy it as
a osgi bundle.
The bundle exports as an O
Forget my post. My bundle on SMX4 was not updated correctly.
Everything is OK.
cmoulliard wrote:
>
> Hi,
>
> I have use in my camel route (described using spring DSL), the following
> syntax to define the header of my message :
>
>
>
Hi,
I have use in my camel route (described using spring DSL), the following
syntax to define the header of my message :
file
as described on the wiki site (http://camel.apache.org/constant.html)
But, when I sta
entDate=Thu Jan 08 00:01:00 CET 2009
givenName=Albert
familyName=Cartier
summary=incident 1
details=this is a report incident 1
email=albert.cart...@gmail.com
phone=+352 25 10 70 470
creationUser=
creationDate=
]}]
cmoulliard wrote:
>
> Hi,
>
> I have created a bean wh
Hi,
I have created a bean where I inject a dependency coming from an osgi
service like this :
The bean is used in a camel route :
Hi,
I have created two bundles :
- one for the files generated by wsdl2java of CXF = bundle
reportingincident.service (= bundle A)
- and the other for my camel-context using these files = bundle
reportingincident.camel (= bundle B)
In the bundle A, I have created a directory under META-INF cal
Hi Guillaume,
Only three defects have been assigned to the release 1.6.1 and none are
solved. This is why, no snapshot is available for the moment.
Regards,
Guillaume Renault wrote:
>
> Hi all,
>
> I was wondering if a Camel 1.6.1-SNAPSHOT version is available through
> the SNAPSHOT maven
Problem sovled. It was due to a bad scala-compiler jar (maven repository)
cmoulliard wrote:
>
> Hi,
>
> When I try to build camel-scala, I receive the following error :
>
> D:\Dvlpt\Java\workspace-ganymede\apache-camel-source\components\camel-scala>mvn
> clean inst
a spring bean for
org.apache.camel.component.ActiveMQComponent with only one parameter "create
broker - true/false" ?
James.Strachan wrote:
>
> 2009/3/13 cmoulliard :
>>
>> Hi,
>>
>> I would like to suggest the following modification for the Camel ActiveMq
&
Hi,
I would like to suggest the following modification for the Camel ActiveMq
Component in order to allow camel (deployed top of an OSGI server like
ServiceMix 4) to call an already installed ActiveMq broker.
To use ActiveMq from Camel, the following bean must be instantiated by
spring :
Hi,
When I try to build camel-scala, I receive the following error :
D:\Dvlpt\Java\workspace-ganymede\apache-camel-source\components\camel-scala>mvn
clean install -Dtest=false
[INFO] Scanning for projects...
[INFO]
[INFO] B
.reflect.Method.invoke(Method.java:597)
at
org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:115)
cmoulliard wrote:
>
> I will recheck but I have done a build of camel-core, camel-spring,
> camel-osgi and c
container. Also camel-spring
>
>
> On Mon, Mar 9, 2009 at 4:01 PM, cmoulliard wrote:
>>
>> Hi,
>>
>> When I deploy the following routes on SMX4,
>>
>>
>> http://www.springframework.org/schema/beans";
>> xmlns:xsi="http://w
Hi,
When I deploy the following routes on SMX4,
http://www.springframework.org/schema/beans";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xmlns:camel="http://camel.apache.org/schema/spring";
xmlns:cxf="http://camel.apache.org/schema/cxf";
xsi:schemaLocation="
Hi,
Can someone tell me why I receive the following error :
2009-03-09 14:23:07,921 DEBUG TcpTransport - Stopping transport tcp://null:0
2009-03-09 14:23:07,921 DEBUG DefaultMessageListenerContainer - Could not
establish shared JMS Connection - leaving it up to asynchronous invokers to
establi
mple.camel.apache.org}ReportIncident
>
> So please check your backend WebService's wsdl file and
> wsdl/report_incident.wsdl's namespace.
>
> Willem
>
> cmoulliard wrote:
>> Hi,
>>
>> Even, if I use the following camel spring DSL,
>>
>&
Hi,
When we run cxf with camel using the camel-cxf endpoint, the following
message appears in the console :
05-mars-2009 12:59:17
org.apache.cxf.service.factory.ReflectionServiceFactoryBean
checkServiceClassAnnotations
ATTENTION: A JAX-WS Annotation was found on
org.apache.camel.example.reportin
>
>
> And then create a bean with the id myResponse that returns the
> response object - ReportIncidentOuput, isn't that the name of that
> object?
> I can not remevber excacly
>
>
> On Wed, Mar 4, 2009 at 4:41 PM, cmoulliard wrote:
>>
>> Hi,
>>
ing configuration file.
>
> class="org.apache.camel.processor.interceptor.Tracer"/>
>
> Willem
>
>
> cmoulliard wrote:
>> Yes when I set the log level in the server as "TRACE" but not when I
>> start
>> camel outside of an OSGI server.
>>
>>
>>
://activemq.apache.org/camel/schema/cxf";.
>>
>> Now all the request to "http://activemq.apache.org/camel"; will be
>> redirect to "http://camel.apache.org";, and we did not copy the old
>> cxfEndpoint.xsd to the new site. So you can't find that schema.
>
...
>
> org.apache.cxf.cxf-bundle
>
>
> It will ensure that your bundle is not started before the cxf one is
> installed.
> Hopefully it will solve the problem.
>
> On Thu, Mar 5, 2009 at 10:30, cmoulliard wrote:
>
>>
>> Guillaume,
>>
>>
tting the following system property
>> (in etc/system.properties for example)
>>org.apache.servicemix.specs.debug=true
>> This should give infos about the specs. Can you paste those log
>> statements
>> please ?
>>
>>
>> On Wed, Mar 4, 2009 at 17:40, cmo
Yes, the SEI has been generated by the maven plugin :
org.apache.cxf
cxf-codegen-plugin
${cxf-version}
)
cmoulliard wrote:
>
> Hi,
>
> Do we need reference to AXIS2 packages to run camel-cxf endpoint on SMX4 ?
>
> Why such a question : because I have the following error in my stack trace
> :
>
> Caused by: org.springframework.beans.BeanInstantiationException: Could n
Hi,
With the following spring DSL :
http://www.springframework.org/schema/beans";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xmlns:camel="http://camel.apache.org/schema/spring";
xmlns:cxf="http://camel.apache.org/schema/cxfEndpoint";
xsi:schemaLocation
ject?
> I can not remevber excacly
>
>
> On Wed, Mar 4, 2009 at 4:41 PM, cmoulliard wrote:
>>
>> Hi,
>>
>> I try to run an camel-cxf project on SMX4. I have been able to package it
>> and deploy my project on SMX4. Unfortunately, when I call the following
>
d to set
> the body to that object.
>
>
>
>
>
>
>
> And then create a bean with the id myResponse that returns the
> response object - ReportIncidentOuput, isn't that the name of that
> object?
> I can not remevber excacly
>
>
> On We
Hi,
Do we need reference to AXIS2 packages to run camel-cxf endpoint on SMX4 ?
Why such a question : because I have the following error in my stack trace :
Caused by: org.springframework.beans.BeanInstantiationException: Could not
instantiate bean class
[org.apache.camel.example.reportincident.
ccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.camel.maven.RunMojo$1.run(RunMojo.java:396)
at java.lang.Thread
Hi,
In the documentation of the component camel-cxf, it is mentioned that we can
define the dataformat. When I set this parameter in my spring DSL, I receive
the following error :
Caused by: org.xml.sax.SAXParseException: cvc-complex-type.3.2.2: Attribute
'dataFormat' is not allowed to appear in
Hi,
I try to run an camel-cxf project on SMX4. I have been able to package it
and deploy my project on SMX4. Unfortunately, when I call the following url
from my browser, I receive an HTTP error 200
The log is not really verbose even in TRACE or DEBUG mode
16:34:58,178 | DEBUG | le/incident?wsd
amel.apache.org/schema/cxf/camel-cxf.xsd";>
cmoulliard wrote:
>
> Willem,
>
> I have the same error even if I use the following schemaLocation :
>
> http://www.springframework.org/schema/beans";
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
rote:
>
> Hi Charles,
>
> Can you to use http://camel.apache.org/schema/cxfEndpoint
> http://camel.apache.org/schema/cxf/camel-cxf.xsd<http://camel.apache.org/schema/cxf/camel-cxf-2.0-SNAPSHOT.xsd>?
>
> Willem
>
>
> On Wed, Mar 4, 2009 at 8:55 PM, cmoull
Yes when I set the log level in the server as "TRACE" but not when I start
camel outside of an OSGI server.
willem.jiang wrote:
>
> Does it work in a no osgi environment ?
>
> Willem
>
> On Wed, Mar 4, 2009 at 10:10 PM, cmoulliard wrote:
>
>>
>> H
el-cxf.xsd<http://camel.apache.org/schema/cxf/camel-cxf-2.0-SNAPSHOT.xsd>?
>
> Willem
>
>
> On Wed, Mar 4, 2009 at 8:55 PM, cmoulliard wrote:
>
>>
>> Hi,
>>
>> The following config works well in a non-OSGI server
>>
>> http://www.springframewo
Hi,
It seems that the tracing does not work when activated like this in an camel
osgi spring dsl route ?
http://camel.apache.org/schema/osgi";>
org.apache.camel.example.reportincident.routing
Hi,
When I call the camel-cxf endpoint, I receive the following error :
INFO: Interceptor has thrown exception, unwinding now Message part
{http://reportincident.example.camel.apache.org}inputReportIncident was not
recognized. (Does it exist in service WSDL?)
What is the meaning of "Does it ex
Hi,
The following config works well in a non-OSGI server
http://www.springframework.org/schema/beans";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xmlns:camel="http://camel.apache.org/schema/spring";
xmlns:cxf="http://camel.apache.org/schema/cxfEndpoint";
I have found the error. This is because the address of the cxf endpoint is
defined like this : /incident and not like
http://localhost:8080/camel-exemple/incident
cmoulliard wrote:
>
> The issue is solved but
>
> I have the following error now :
>
> 2009-03-04
12:08 PM, Claus Ibsen
>> wrote:
>>> Hi
>>>
>>> Looks like the # reference failed.
>>> serviceClass="#reportIncidentEndpoint"
>>>
>>> eg # instructs Camel / CXF to lookup in Spring for a bean with that id.
>>>
Hi,
Camel 2.0-SNAPSHOT & Cxf-2.2.-SNAPSHOT returns the following error :
2009-03-03 17:42:06,906 DEBUG DisposableBeanAdapter - Invoking destroy() on
bean with name 'camelContext'
2009-03-03 17:42:06,906 ERROR MainSupport - Failed:
org.springframework.beans.factory.BeanCreationException: Error c
Hi,
The following syntax in my spring DSL
generates an error :
Caused by: org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid
content was found starting with element 'convertBodyTo'. One of
'{"http://camel.apache.org/schema/spring":from,
"http://camel.apache.org/schema/spring":agg
of camel-osgi module.
>
> Please check out this pom.xml[1] as an example.
> [1]
> http://svn.apache.org/repos/asf/camel/trunk/examples/camel-example-osgi/pom.xml
>
> Willem
>
> cmoulliard wrote:
>> Hi,
>>
>> Two remarks concerning what you propose :
>>
.x sometimes can not move
> file after processing.
>
>
> On Tue, Mar 3, 2009 at 11:31 AM, cmoulliard wrote:
>>
>> You are right ;-) The file was locked by another application.
>>
>>
>> Claus Ibsen-2 wrote:
>>>
>>> It is trying to de
it as well in the SPI package.
>
> There is a mail on the dev forum about this as well to disucss it there.
>
> The DEBUG logging could maybe be toned down to TRACE
>
>
> On Tue, Mar 3, 2009 at 12:32 PM, cmoulliard wrote:
>>
>> Hi Willem,
>>
>> It w
gt;
>
> Willem
>
> Claus Ibsen wrote:
>> Hi
>>
>> The @FallbackConverter type converter should kick in, when you use
>> file based components
>>
>> Willem is there something there that needs to be done in camel-osgi
>> for registerin
>
>
>
>
>
>
>
>
> Willem
>
> Claus Ibsen wrote:
>> Hi
>>
>> The @FallbackConverter type converter should kick in, when you use
>> file based components
>>
>>
gt;
>
> On Tue, Mar 3, 2009 at 10:36 AM, cmoulliard wrote:
>>
>> I don't if this point must be fixed or not but when a file already exist
>> in
>> the 'done' directory, then the following error is generated :
>>
>> 2009-03-03 10:34:00,937 ER
886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
cmoulliard wrote:
>
> OK. By the way it works fine with absolute paths.
>
>
> Claus Ibsen-2 wrote:
>>
>> The problem is that you mix and match absolute with
OK. By the way it works fine with absolute paths.
Claus Ibsen-2 wrote:
>
> The problem is that you mix and match absolute with relative.
>
> I will add a fix but you should also use absolute paths for the move
> expression as a workaround.
>
>
> On Tue, Mar 3, 2009
ged in camel 2.0. See:
> http://camel.apache.org/file2.html
>
> All the pre/postfix etc. is based on expressions now. So it should be
> something like this:
> moveExpression=../done/${file:name}
> preMoveExpression=inprogress/${file:name}
>
>
>
> On Mon, Mar 2, 20
there that needs to be done in camel-osgi
>> for registering fallback converteres as well?
>>
>>
>>
>> On Mon, Mar 2, 2009 at 5:16 PM, cmoulliard wrote:
>>>
>>> Yes Willem,
>>>
>>> Here it is :
>>>
>>>
>>
Hi,
The following error is reported when I deploy a camel project on Service Mix
Kernel 1.1.0 snashot where Camel-2.0 SNAPSHOT osgi bundle is deployed ?
17:36:17,640 | ERROR | xtenderThread-15 | OsgiBundleXmlApplicationContext |
gatedExecutionApplicationContext 366 | Post refresh error
org.apa
configuration file or the DSL rule?
>
>
> Willem
>
>
> On Mon, Mar 2, 2009 at 11:01 PM, cmoulliard wrote:
>
>>
>> Hi,
>>
>> I have a small camel - bindy project running perfectly in Eclipse or when
>> launched using command camel:run but whe
Hi,
I have a small camel - bindy project running perfectly in Eclipse or when
launched using command camel:run but when I deploy it on Servicemix Kernel
4, I receive the following error :
15:48:05,936 | ERROR | ompon...@1cb1d37 | DeadLetterChannel|
rg.apache.camel.processor.Logge
Hi,
I would like to have the opinion of the camel riders regarding to the
following point.
When you work with messages that you have to unmarshall/marshall, it occurs
frequently that you have to change how you parse or format your message
because the specifications have changed (e.g. FIX 4.1 --
;file=").unmarshal().("activemq:queue:xx")
from("activemq:queue:xx").to("bean=A").to("activemq:queue:xx")
from("activemq:queue:xx").to("bean=B").to("activemq:queue:xx")
from("activemq:queue:xx").to("bean=
Hi,
I would like to know if a persisting (like serialization of messages) exist
and can be activated easily between different endpoints ?
Let's see what I'm thinking about with an example
from("file=").unmarshal().to("bean=A").to("bean=B").to("bean=C").to("activemq:queue:xx")
In this routi
Hi,
I would like to know what is the best/quickest way to design OSGI
librairies/bundles for a project ?
First of all, let's start with a example : camel + cxf
To deploy such a project top of SMX kernel 1.x, I need of course to create
an osgi project for my code. This project can be created usi
Hi,
Are you using the camel - component HL7 ?
Regards,
Charles
yesnid wrote:
>
> Hello All,
>
> I am getting a Class Not found Exception for:
> ca.uhn.hl7v2.parser.Parser
>
> what jar is this in?
>
> Thank you,
>
> Nick
>
-
Charles Moulliard
SOA Architect
My Blog : http://cmoull
Hi,
Do we have to chaneg the namespaces declared in the xml files for Camel
2.0-SNAPSHOT ?
e.g. :
http://activemq.apache.org/camel/schema/cxfEndpoint
http://activemq.apache.org/camel/schema/cxf/cxfEndpoint.xsd
-->
http://camel.apache.org/camel/schema/cxfEndpoint
http://camel.apache.org/camel
Are you sure that you do not have a mix of jar spring 2.5.4 and 2.5.6. See
this interesting spring post about that
(http://forum.springsource.org/showthread.php?t=62392)
carlo c wrote:
>
> It seems to happen with spring version 2.5.6.
> It doesn't occur on spring version 2.5.4'
>
>
> carlo c
Hi,
Can you provide the tomcat stack trace error generated when the web service
has been called please ?
Charles
O. Baujard wrote:
>
> Hi,
>
> I'm currently playing with the Tutorial-Example-ReportIncident. I have a
> problem when I try to deploy the war generated by maven on Tomcat. I
> mana
Hi,
I would like to know the procedure to follow in order to format code to be
published to camel project in Eclipse ?
Idem but to check style ?
Is the code formatted automatically during maven build process of Camel
project ?
Remarks :
- ActiveMQCodeFormatter.xml file exists under the folder
You can use the same jms queue between Camel instance running in servicemix
or standalone (with ActiveMq) and another instance running Tibco or Sonic MQ
or WebSphere MQ
hanasaki wrote:
>
> Any way to use Camel and later continue its use but swap out the ESB
> (servicemix) for another vendor?
What do you mean by 'no binding parameters' ?
Can you provide an example of what you would like to do and the route please
?
nojonojo wrote:
>
> From observing behavior and looking at the code of SqlProducer, it doesn't
> seem like it's possible to use a query with no binding parameters (and
>
Hi,
Camel is a Java/spring routing engine supporting different components (jms,
http, ftp, ). It can run as :
1) a standalone application
(http://cwiki.apache.org/CAMEL/running-camel-standalone.html)
2) can be embedded in another application like :
a) Web server
(http://camel.apache.org/
BodyType:null
> , Body:null
>
>
> Kind Regards
> Andreas
>
>
> cmoulliard wrote:
>>
>> Hi,
>>
>> Have you try to create your exchange without mentioning the
>> ExchangePattern like this ?
>>
>> Exchange exchange = endpoint.
Congratulations to Camel
The next step will be to write a book : "Camel in action"
Regards,
Charles
SOA Architect
Hadrian Zbarcea wrote:
>
> Hi,
>
> Most of you probably know already that the Apache Board voted at the
> last meeting (Dec 17th, 2008) on a resolution that makes Camel a top
Hi,
Have you try to create your exchange without mentioning the ExchangePattern
like this ?
Exchange exchange = endpoint.createExchange();
icucode wrote:
>
> Hi,
>
> I'm trying to send attachments attached to the message that is sent to the
> queue but they seem to vanish on the way for som
Hi,
The apache-commons-codec jar is missing. Please check this dependency.
Regards,
Charles
petedao wrote:
>
> Hello
>
> I am just starting to use Activemq, and I have some problems.
>
> With http://192.168.1.101:1/testServlet"/>, I am getting the
> following error with Camel 1.5.
>
85 matches
Mail list logo