Camel component for integration with N4 Sparks

2014-07-11 Thread Chubutin
Hi everyone! In the past two years I integrated Jboss Fuse with Navis Sparks N4 [1]. All my services were full camel-cxf. In many opoertunities I used the Camel documentation and the opinions of all the people in this forum. I used the HTTP , XSLT, JAXB and CXF components. Now I'm trying to gene

Create a component a encapsulate logic

2014-07-08 Thread Chubutin
Hi! I'm trying to create a component ( I used the archetype from the Camel documentation), and inside the component I'm trying to encapsulate some logic (call a HTTP endpoint, make a XSLT transformation and a JAXB for desesiarlization). IDK if I have to create an internal route to do all that thin

Notifier when FTP Polling starts to read a file

2014-06-18 Thread Chubutin
Hi! I'm trying to audit a route which starts with *from("ftp:*)*. The objetive is to log (in another class) when the FTP Consumer detect a file and the consumer start to process the FIle (move or delete, or anything). My first approach is to create a Notifier and process the exchanges, but i don't

Re: EventNotifierSupport in all contexts

2014-05-22 Thread Chubutin
Thank you Charles and Claus! I supposed there was a mechanism to intercept all the registrations of t he Camel Contexts. I'll try with a notifier bean as a osgi service and a implementation of Activation to register that bean in all the contexts. If all goes well my solution will be posted here, or

Re: JMS consumer failover

2014-05-16 Thread Chubutin
Hi, you have to configure the ActiveMQComponent as this -- View this message in context: http://camel.465427.n5.nabble.com/JMS-consumer-failover-tp575p5751167.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: How to return null element with Camel-CXF

2014-02-16 Thread Chubutin
Hi, thanks for your reply. IMHO I thinks It could be a valid response because if you return a wrapper with an instance of your responde with values elements inside you should check in the client the inners elements for avoid an NPE. If you response a null element inside the wrapper, when you deser

Re: How to return null element with Camel-CXF

2014-02-12 Thread Chubutin
My new route with the fix is .choice() .when().simple("${in.body} contains 'vessel'") .unmarshal(getJaxbDataFormat()) .otherwise() .process(new Processor() {

How to return null element with Camel-CXF

2014-02-12 Thread Chubutin
Hi! I'm having problems when I try to return a null element in SOAP response. When I send a null body as response to CXF Bean, this Bean doesn't create a null response and return that null element to the response. So, i want to return a null element in the response but I can't. If I test the ser

Re: Test route with CXF endpoint

2013-05-27 Thread Chubutin
I created a new Project with this example, be free to take a look. Thank you! exampleCamelCXF.tar -- View this message in context: http://camel.465427.n5.nabble.com/Test-route-with-CXF-endpoint-tp5733266p5733278.html Sent

Test route with CXF endpoint

2013-05-27 Thread Chubutin
Hi, Im trying to test a cxf route that I have. This route have a cxf endpoint and a xslt transformation (in this example the transformation returns always a mock result). If I deploy this route into Fuse this works great, but Im trying to test it with Camel in differents alternatives. Im a little

CachedOutputStream error when call endpoint from a recipientList

2013-04-23 Thread Chubutin
Hi, i developed a Route that calls a recipientList and then a XSLT transformation. When I try the route without the recipient list (the URI of the endpoint in the route) the route works. But when I call the recipient list the route returns the error 18:35:32,486 | ERROR | qtp4206788-62| Defaul

Re: Create a Simple CXF - Http Route

2013-04-19 Thread Chubutin
I have my Bridge CXF - HTTP working. This is my configuration for all who has the same problems http://www.osgi.org/xmlns/blueprint/v1.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xmlns:cm="http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.1.0"; xmlns:cxf="ht

Re: Create a Simple CXF - Http Route

2013-04-18 Thread Chubutin
I resolved the route problem. This is my CamelContext http://service.esb.tecplata.com/"; /> http://localhost:80/vessel_visitors.xml"; /> The route i

Re: Create a Simple CXF - Http Route

2013-04-18 Thread Chubutin
I resolved putting direct in the *to* route. So, my route is now http://localhost/vessel_visitors.xml"; /> Thank you! -- View this message in context: http://camel.465427.n5.nabble.com/Create-a-Simple-CXF-

Create a Simple CXF - Http Route

2013-04-18 Thread Chubutin
Hi, im trying to register a Camel route in Servicemix 4.x. This route is a cxf consumer, xslt and a provider HTTP. I erase the xslt endpoint to avoid any conflicts because that is not relevant. I dont know what is wrong in the xml declaration. http://service.esb.com/"; />