what's wrong with oracle configuration

2013-05-16 Thread takidean
should id add something here i add the jar file to the classphath , it works fine for mysql but bugs for oracle the error that i got Property 'driverClassName' threw exception; nested exception is java.lang.IllegalStateException: Could no

connection to oracle jdbc

2013-05-16 Thread takidean
: InvocationTargetException: Error creating bean with name 'orsmon' defined in file [C:\Users\takidean\workspace\rout\target\classes\META-INF\spring\camel.xml]: Error setting property values; nested exception is org.springframework.beans.PropertyBatchUpdateException; nested PropertyAccessExceptio

Re: rest webservice can't read parameteres

2013-05-13 Thread takidean
thanks for the reply but i have to send many qyeryparams and i cant extract them in the message body .i have to resolve the problem from camel -- View this message in context: http://camel.465427.n5.nabble.com/rest-webservice-can-t-read-parameteres-tp5732407p5732411.html Sent from the Camel -

rest webservice can't read parameteres

2013-05-13 Thread takidean
Hi i use to send many parameters in my url but i find that message body catch only the first parameters this is my code: MessageResource @GET @Path("/id/{type}") @Produces("text/xml") public String getCustomer(@QueryParam("id") String n,@QueryParam("type") String s) { return "ok"; }

Re: Error occurred during aggregation.

2013-05-03 Thread takidean
this is the WArn org.apache.camel.CamelExchangeException: Error occurred during aggregation. Exchange[Message: 13]. Caused by: [java.lang.NullPointerException - null] -- View this message in context: http://camel.465427.n5.nabble.com/Error-occurred-during-aggregation-tp5731989p5731990.html Se

Error occurred during aggregation.

2013-05-03 Thread takidean
hi i have to recieve an id from cxf then to retrieve data from server through socket and aggregate them with this id to resend them as a response to the cxf endpoint,for the first time it works but i get i problem in my exchange when i use to execute the route in second time, this is the code of

what's wrong with mina endpoint

2013-05-02 Thread takidean
Hi i have to send from a web service an id to a socket server . when i get the id in my exchange then i use to send it i get this error [qtp21158020-25] WebApplicationExceptionMapper WARN javax.ws.rs.WebApplicationException: org.apache.camel.CamelExchangeException: Can

Re: route between webservice and socket

2013-05-01 Thread takidean
Hi the problem is that i have to receive file from mina endpoint in other port like that from cxf to mina port= from mina port=8889 response is that possible? -- View this message in context: http://camel.465427.n5.nabble.com/route-between-webservice-and-socket-tp5731788p5731855.html Sen

route between webservice and socket

2013-04-30 Thread takidean
Hi i have to to take information from webservice , to send them to a server through socket and get the response then route them to the webservice webservice -> camel -> server(socket)->camel -> webservice the problem is that when i take information i have to be a client to send them to ther ser

Re: mina can't receive object

2013-04-25 Thread takidean
it means An existing connection was forcibly closed by the remote host but i'm wondering if mina can receive object from sockets , because this is the problem, when i send a String with dataoutputstrem its ok , when i use to send objects with ObjectOutputStream i get this error -- View this m

mina can't receive object

2013-04-24 Thread takidean
l Route 0.0.1-SNAPSHOT [INFO] [INFO] [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ MinaSample --- [INFO] Deleting C:\Users\takidean\Desktop\aa\MinaSample-master\target [INFO] [INFO] --- maven-resources-plugin:2.5:

receive message from Rest webservice

2013-04-17 Thread takidean
hi i use to send message from Rest web service but i get this problem qtp18105374-27] JAXRSUtils WARN No operation matching request path "/route/MessageResource/message" is found, Relative Path: /message, HTTP Method: POST, ContentType: application/xml;charset=U

Camel cannot store file !!

2013-03-30 Thread takidean
i want to send selected rows from a database to file this is my code http://camel.apache.org/schema/spring";> SELECT * FROM `user` WHERE 1 ${body}

endpoint without consumer

2013-03-30 Thread takidean
when i use to select some rows from a database i get one error and this is my code: public static void main(String[] args) throws Exception { // TODO Auto-generated method stub //DataSource dd; DriverManagerDataSource db = new DriverManage

fail to transform from file to jms

2013-03-28 Thread takidean
hi i used to send file to a jms queu this is my code an then error: /code*/ public void configure() { from("file:src/data?noop=true") .choice() .when(xpath("/person/city ='SFIN'")) .to("jms:queue:Orders")

Processor can't receive exchange !

2013-03-28 Thread takidean
hi everything goes well with my jdbc connection and my routes but i have to receive data from my exchange i don't know where is the problem with my processor here public void configure() { /* from("file:src/data?noop=true") .to("jms:queue:Orders") .bean(O

error in plugin maven-compiler-plugin:2.5

2013-03-27 Thread takidean
hi when i use to execute the example in chapter2 spring from package camelinaction-source-2103 i get this error !! on project chapter2-spring: Fatal error compiling: tools.jar not found: C:\Program Files\Java\jre6\..\lib\tools.jar -> [Help 1 Failed to execute goal org.apache.maven.plugins:maven-co

from databaes to other

2013-03-26 Thread takidean
hi everybody when i use to send rows from database to an other it don't work this is what i did: /person/city = 'SMON' SELECT * FROM REPORT.T_INCIDENT WHERE INCIDENT_REF = '001' OR INCIDENT_REF = '002';

Re: how to do a registry of type: javax.sql.DataSource

2013-03-23 Thread takidean
Hi Mr claus is still get this message im so pressed i have to do it for my project of end of year public static void main(String[] args) throws Exception { // TODO Auto-generated method stub //DataSource dd; DriverManagerDataSource ds = new DriverManagerDa

Re: how to do a registry of type: javax.sql.DataSource

2013-03-23 Thread takidean
Hi Mr claus is still get this message im so pressed i have to do it for my project of end of year /**main**/ public static void main(String[] args) throws Exception { // TODO Auto-generated method stub //DataSource dd; Dri

how to do a registry of type: javax.sql.DataSource

2013-03-21 Thread takidean
hi everybody this is my apache camel code: public class Cntx { /** * @param args * @throws Exception */ public static void main(String[] args) throws Exception { // TODO Auto-generated method stub CamelContext context = n

bean dont work

2013-03-20 Thread takidean
i use to extract some information from an xml file to insert them into a jdbc data base this is what i did and it doesn't work **main*** public class Cntx { /** * @param args * @throws Exception */ public static void main(S

from webservice to queue

2013-03-15 Thread takidean
Hi i have to receive an external webservice and route it into a jms queue this , is that useful public void configure() throws Exception { // TODO Auto-generated method stub from("cxf://http://localhost:9000/order/";) .setBody(constant("ok")) .to("jms:xmlorders");

Re: from server to oracle

2013-03-13 Thread takidean
im new in apache camel , i read camel in action but i have yet many questions , i'm pressed because i have to achieve my project in which there are many routes and endpoints .i search for help , to receive messages from an external web service what endpoint should i use to connect it. -- View th

from server to oracle

2013-03-12 Thread takidean
hi i de developped some code in which i have to receive data from a server over sockets then send it into an oracle data base i need some help ,i'm new in apache camel someone give me his opinion about this: public class Action { /** * @param args * @throws Exception

How to send Web Service to Oracle using Apache Camel

2013-03-08 Thread takidean
I have to develop an application with Apache Camel which will play the role of a middle-ware between a platform named w-board and 3 Oracle servers. I have to receive Web Services from the w-board and then send that message to a server. I have to identify the destination from the id then route the m