Re: How to handle failed splitted message

2010-06-09 Thread lekkie
gards. Claus Ibsen-2 wrote: > > On Tue, Jun 8, 2010 at 6:33 PM, lekkie wrote: >> >> I am trying some examples on the Split EIP. >> >> I was wondering, how can I safely handle an exception thrown by one of >> the >> splitted messages. >> >> I will

javax.el.ELException: Error reading 'brokerName' on type org.apache.activemq.web.RemoteJMXBrokerFacade

2010-06-08 Thread lekkie
While trying to access activemqweb page, here is the error I got: Problem accessing /activemqweb/index.jsp. Reason: Error reading 'brokerName' on type org.apache.activemq.web.RemoteJMXBrokerFacade Caused by: javax.el.ELException: Error reading 'brokerName' on type org.apache.activemq.web.R

How to handle failed splitted message

2010-06-08 Thread lekkie
I am trying some examples on the Split EIP. I was wondering, how can I safely handle an exception thrown by one of the splitted messages. I will like to handle it such that the split continues to process other requests. kr. -- View this message in context: http://old.nabble.com/How-to-handle-

Re: ExchangeTimedOutException: The OUT message was not received within: 20000 millis.

2010-06-03 Thread lekkie
k to JMSReplyTo. > > See > http://camel.apache.org/event-message.html > http://camel.apache.org/request-reply.html > > On Thu, Jun 3, 2010 at 10:28 AM, lekkie wrote: >> >> Hi Guys, >> >> I have this requirement where the source queue and destination

Using properties file values with Camel Simple expression

2010-06-03 Thread lekkie
I am trying to insert a value from a properties file into a simple expression but it keeps throwing an exception ${properties:my-host} See exception below: org.apache.camel.RuntimeCamelException: org.apache.camel.FailedT

Using properties file values with Camel Simple expression

2010-06-03 Thread lekkie
I am trying to insert a value from a properties file into a simple expression but it keeps throwing an exception ${properties:my-host} See exception below: org.apache.camel.RuntimeCamelException: org.apache.camel.FailedT

ExchangeTimedOutException: The OUT message was not received within: 20000 millis.

2010-06-03 Thread lekkie
Hi Guys, I have this requirement where the source queue and destination queue are on separate brokers. See the config below: ${request-queue-url}

Re: NTLM Proxy Authentication with camel-http failed

2010-05-26 Thread lekkie
gt; > [1]https://svn.apache.org/repos/asf/camel/trunk/components/camel-http/src/main/java/org/apache/camel/component/http/NTLMAuthenticationHttpClientConfigurer.java > > Willem > > > lekkie wrote: >> I am trying to fetch a resource using the camel-http component and I am >>

NTLM Proxy Authentication with camel-http failed

2010-05-25 Thread lekkie
I am trying to fetch a resource using the camel-http component and I am running my application behind a proxy server who uses NTLM for authentication. Each time I try to connect it gives an I/O Exception, see error below: 17:18:29,747 | INFO | Service-thread-2 | HttpMethodDirector

Re: Connecting Custom camel component to remote provider on-startup

2010-05-18 Thread lekkie
laus Ibsen-2 wrote: > > Hi > > You can call start on your producer. > But Camel would normally do that for you if you use it from a Camel route. > > How do you use your custom component? > > > > On Mon, May 17, 2010 at 9:41 AM, lekkie wrote: >> >> H

Connecting Custom camel component to remote provider on-startup

2010-05-17 Thread lekkie
Hi guys, I have a custom component which I have written, I intend to connect to a remote service provider over a protocol which I have implemented in my camel component producer. I connect to the remote service with the help of CustomProducer which extends DefaultProducer. I overruled the doStar

Logging Camel-component info to karaf.log

2010-05-16 Thread lekkie
Hi guys, I have a custom component which I have written, I will like to log some info form the component into karaf log, attempts to this this has not be fruitful. I have defined a logger as shown below in my camel component files: private static final transient Log LOG = LogFactory.getLog(Cust

Re: Embedded ActiveMQ error (Unable to validate using XSD)

2010-05-15 Thread lekkie
k at your broker configure ? > BTW, you didn't mention the JDK, ActiveMQ, and Spring version. > > Finally, I don't think it relates to Camel :) > > Willem > > lekkie wrote: >> Hi guys, >> >> I am trying to run an embedded activemq in

Embedded ActiveMQ error (Unable to validate using XSD)

2010-05-14 Thread lekkie
Hi guys, I am trying to run an embedded activemq in my web application using eclipse. I am certain I have all the right jars and versions as well, the error below keep coming up: org.springframework.beans.factory.BeanDefinitionStoreException: Parser configuration exception parsing XML from Serv

Basic Authentication with cxfEndpoint

2010-05-13 Thread lekkie
I have a cxf Endpoint connecting to a webservice provider. The service provider however requires basic authentication, how can cxfEndpoint achieve this? regards. -- View this message in context: http://old.nabble.com/Basic-Authentication-with-cxfEndpoint-tp28549219p28549219.html Sent from the

Re: JMS Message Acknowledgement & Persistence in Camel

2010-04-19 Thread lekkie
Claus Ibsen-2 wrote: > > On Thu, Apr 15, 2010 at 8:53 AM, lekkie wrote: >> >> I checked it out on Amazon and it says it has not been released. >> >> Where else can I get it? >> > > See my mail signature :) > http://www.manning.com/ibsen > &g

Re: Setting optional parameters with Camel Header for camel-smpp

2010-04-19 Thread lekkie
He didnt leave his contact info in here. Can help with that? kr. Claus Ibsen-2 wrote: > > Hi > > Christian Mueller developed and contributed this component to Apache. > Maybe try get in touch with him. > > > > On Thu, Apr 15, 2010 at 7:32 PM, iocanel >

Setting optional parameters with Camel Header for camel-smpp

2010-04-15 Thread lekkie
Is there a way to set optional parameters for SMS messages sent to an smpp endpoint? kr. -- View this message in context: http://old.nabble.com/Setting-optional-parameters-with-Camel-Header-for-camel-smpp-tp28257768p28257768.html Sent from the Camel - Users (activemq) mailing list archive at Na

Re: JMS Message Acknowledgement & Persistence in Camel

2010-04-14 Thread lekkie
I checked it out on Amazon and it says it has not been released. Where else can I get it? Claus Ibsen-2 wrote: > > On Wed, Apr 14, 2010 at 6:50 PM, lekkie wrote: >> >> Thanks for the insight. >> >> I have gone ahead to implement the Transactional Client EIP pat

Re: JMS Message Acknowledgement & Persistence in Camel

2010-04-14 Thread lekkie
rce code for the book) > Or check the Transactional Client EIP pattern at Camel wiki. > > > > On Wed, Apr 14, 2010 at 2:50 PM, lekkie wrote: >> >> I have this scenario where I 'd like to keep a message in the queue until >> the &g

JMS Message Acknowledgement & Persistence in Camel

2010-04-14 Thread lekkie
I have this scenario where I 'd like to keep a message in the queue until the flow in my route has returned. See explanation below: I'd like to finish processing - which means the message is successfully sent to nmr:Webservice - before an ack is sent to my message broker (jms:${que

Re: How to set proxy server on servicemix

2010-03-13 Thread lekkie
to connect the back end service. > > Willem > > Stephen Gargan wrote: >> You would just set up the JVM to use the proxy. >> >> http://java.sun.com/javase/6/docs/technotes/guides/net/proxies.html >> >> ste >> >> On Fri, Mar 12, 2010 at

How to set proxy server on servicemix

2010-03-12 Thread lekkie
Hi Guys, Does Servicemix allow one to configure a proxy server address (to connect to internet)? If yes, how can this be achieved? regards. -- View this message in context: http://old.nabble.com/How-to-set-proxy-server-on-servicemix-tp27879783p27879783.html Sent from the Camel - Users mailing

is NMR a multithreaded endpoints

2010-03-10 Thread lekkie
I was just wondering if the NMR endpointis multithreaded. And when I say multithreaded, here is what I mean. http://camel.apache.org/schema/spring"; trace="true"> http://camel.apache.org/schema/spring"; trace="true"> My question is if camelcontext 'somewhere' has sent a request to n

Re: Blocked endpoints: What EIP 'd be most appropriate?

2010-03-08 Thread lekkie
Am using vm already. Claus Ibsen-2 wrote: > > Hi > > Try to do it in pure Camel, eg using seda, direct, vm etc and not the > NMR or SMX. > > > On Thu, Mar 4, 2010 at 2:38 PM, lekkie wrote: >> >> I saw this and I completely understand it. >> my

Re: What EIP would be most appropriate for this?

2010-03-05 Thread lekkie
what you are looking for. > > > > On Fri, Mar 5, 2010 at 11:41 AM, lekkie wrote: >> >> I have a message that contains multiple records. I'd like to split the >> message and send each to an endpoint (just one). >> >> The requirement came as a result of a messa

What EIP would be most appropriate for this?

2010-03-05 Thread lekkie
I have a message that contains multiple records. I'd like to split the message and send each to an endpoint (just one). The requirement came as a result of a message containing a batch data which are supposed to be processed one after the other on the provider endpoint. This is not the same as

Re: Blocked endpoints: What EIP 'd be most appropriate?

2010-03-04 Thread lekkie
a.html > > You can use waitForTaskToComplete to control the blocking behavior > > > On Thu, Mar 4, 2010 at 2:17 PM, lekkie wrote: >> >> Are you saying that you route to "route1" 2 times? eg kinda like in a >> circle? >> >> You are right. The

Re: Blocked endpoints: What EIP 'd be most appropriate?

2010-03-04 Thread lekkie
; trace="true"> http://camel.apache.org/schema/spring"; trace="true"> Regards. Claus Ibsen-2 wrote: > > On Thu, Mar 4, 2010 at 8:50 AM, lekkie wrote: >>

Re: Blocked endpoints: What EIP 'd be most appropriate?

2010-03-04 Thread lekkie
I tried that too. Same difference. willem.jiang wrote: > > Did you try to use failover[1] ? > > [1] http://camel.apache.org/load-balancer.html#LoadBalancer-Failover > > Willem > > lekkie wrote: >> I have a use case that requires a certain endpoint to be

Blocked endpoints: What EIP 'd be most appropriate?

2010-03-03 Thread lekkie
I have a use case that requires a certain endpoint to be re-used. Lets say the re-usable endpoint is called router1. The flow below causes a blockage on my route and leads to camel throwing exception. consumerEndPoint -> router1 -> someIntermediateEndPoint -> router1`-> someProviderEndpoint

Re: Passing Headers/Properties between (NMR) endpoints

2010-03-01 Thread lekkie
Thanks for the response. So, how is this (setting Exchange properties) done? willem.jiang wrote: > > Hi > > I think the properties means to set the Camel Exchange properties. > There is no properties for Camel Message. > > Willem > > lekkie wrote: >> Hi

Passing Headers/Properties between (NMR) endpoints

2010-03-01 Thread lekkie
Hi guys, I 'd like to pass an header in between two NMR endpoints. Here is my config: myroute and here is my router config

ServiceMix 4.2 web

2010-02-25 Thread lekkie
Hi Guys, Is there a war file (that can be deployed in tomcat) for service 4.2? kr. -- View this message in context: http://old.nabble.com/ServiceMix-4.2-web-tp27714458p27714458.html Sent from the Camel - Users mailing list archive at Nabble.com.

Could not create JsseListener: java.lang.NullPointerException while create jetty https

2010-02-23 Thread lekkie
I am trying to expose a REST service over jetty's https and I encountered the exception shown below: 19:04:14,466 | WARN | tenderThread-106 | jetty| .service.internal.util.JCLLogger 118 | EXCEPTION java.lang.NullPointerException at org.mortbay.jetty.security

Re: How to set an exchange's message header

2010-02-22 Thread lekkie
ell to force it > being evaluated as a String etc. > > > > And I think you can omit java.lang to make it shorter > > > > > On Mon, Feb 22, 2010 at 11:35 AM, lekkie wrote: >> >> >> >>        //myId >>

How to set an exchange's message header

2010-02-22 Thread lekkie
//myId here is my recipient list: public String[] route(@Header("//routeId") String routeId) { LOG.info("Route id: " + routeId); } the code above returns null. -- View this message in context: http://old.nabble.com/How-to-set-an-exchange

Re: Class.forName("net.sourceforge.jtds.jdbc.Driver") called inside spring cannot be found

2010-02-22 Thread lekkie
Yes, its an OSGI bundle and I have that package imported already. willem.jiang wrote: > > Did you deploy the route context into OSGi platform? > Can you add the package of "net.sourceforge.jtds.jdbc" into your > application OSGi meta info of Import-Packages. > &

Re: Naming your file with org.apache.camel.file.name

2010-02-21 Thread lekkie
This worked. Thanks watcher wrote: > > Try setting name like this > message.setHeader(Exchange.FILE_NAME, filename); > > -- View this message in context: http://old.nabble.com/Naming-your-file-with-org.apache.camel.file.name-tp27652312p27683863.html Sent from the Camel - Users mailing lis

Re: Naming your file with org.apache.camel.file.name

2010-02-19 Thread lekkie
("org.apache.camel.file.name", filename); newMessage.setBody(data); newMessage.removeAttachment("filename"); Claus Ibsen-2 wrote: > > Its a HEADER not a property that you can use to set the filename. > > > On Fri, Feb 19, 2010 at 11:39 AM, lekkie

Naming your file with org.apache.camel.file.name

2010-02-19 Thread lekkie
Hi, After going through this doc http://camel.apache.org/file.html, I understand I can set the filename by setting org.apache.camel.file.name value. I have a camel application that retrieves an attachment from an email and drops the attachment into a folder. Here is my mail attachment processor

Naming your file with org.apache.camel.file.name

2010-02-19 Thread lekkie
Hi, After going through this doc http://camel.apache.org/file.html, I understand I can set the filename by setting org.apache.camel.file.name value. I have a camel application that retrieves an attachment from an email and drops the attachment into a folder. Here is my mail attachment processor

Naming your file with org.apache.camel.file.name

2010-02-19 Thread lekkie
Hi, After going through this doc http://camel.apache.org/file.html, I understand I can set the filename by setting org.apache.camel.file.name value. I have a camel application that retrieves an attachment from an email and drops the attachment into a folder. Here is my mail attachment processor

Class.forName("net.sourceforge.jtds.jdbc.Driver") called inside spring cannot be found

2010-02-18 Thread lekkie
Hi, I am using the com.mchange.v2.c3p0.ComboPooledDataSource library to create datasource to manage database connection. However, whenever I tried to use the datasource to get a connection it throws classnotfoundexception for net.sourceforge.jtds.jdbc.Driver. I was able to load same class (Class

Re: how to expose (SOAP) webservice using camel

2010-02-18 Thread lekkie
I thot this will open up the service on port 7077 but its not happenin. Claus Ibsen-2 wrote: > > On Thu, Feb 18, 2010 at 9:30 AM, lekkie wrote: >> >> Hi Guys, >> >> I 'd like to expose a Webservice using camel. I have the WSDL whcih I >> will >

how to expose (SOAP) webservice using camel

2010-02-18 Thread lekkie
Hi Guys, I 'd like to expose a Webservice using camel. I have the WSDL whcih I will like to be exposed for this service. How do I do this? kr. -- View this message in context: http://old.nabble.com/how-to-expose-%28SOAP%29-webservice-using-camel-tp27635666p27635666.html Sent from the Camel -

Re: How can I access Servicemix Environment viriables?

2010-02-16 Thread lekkie
> Open Source SOA: http://fusesource.com > Blog: http://gertvanthienen.blogspot.com/ > > > > On 13 February 2010 16:24, lekkie wrote: >> >> Thanks for your response. >> >> Just one more question. >> >&

passing variables to camel

2010-02-15 Thread lekkie
I was just wondering if its possible to pass a variable to a camel route? e.g. where ${myjmsqueue} is a variable defined may be in a properties file. Is this possible? -- View this message in context: http://old.nabble.com/passing-variables-to-camel-tp27590613p27590613.html Sent

Re: How can I access Servicemix Environment viriables?

2010-02-13 Thread lekkie
t; servicemix.home > - for later versions of Servicemix (based on Felix Karaf), the > property name to use id karaf.base > > Regards, > > Gert Vanthienen > > Open Source SOA: http://fusesource.com > Blog: http://gertvanthienen.blogspot.com/ >

How can I access Servicemix Environment viriables?

2010-02-13 Thread lekkie
Not sure if SMX has somethin like this, but I'd like to be able to access the root folder (hard drive path e.g. c:\\mysmxdirectory) in which SMX is deploy. IS there an environment var for this? How can u access/use it in a camel application? rgds. -- View this message in context: http://old.n

Re: Missing dependencies: Spring cannot find com.mchange.v2.c3p0

2010-02-12 Thread lekkie
I had to edit the manifest and export the packages I needed. willem.jiang wrote: > > Hi, > > How did you resolve that issue? > Can you share it ? > It could be useful if other user hit the same issue as you. > > Willem > > lekkie wrote: >> Resolved. Thank

Re: Aggregator and completionPredicate

2010-02-11 Thread lekkie
I think there is a batchtimeout which by default is 1sec. So, whichever comes first 'd kick in. Julien D wrote: > > Hi everybody, > > I have a question about aggregation with the completionPredicate. What > does happen if somehow the predicate is never true ? > > For example if I have somet

Re: Class not found exception when trying to load class with Class.forName("")

2010-02-11 Thread lekkie
application jar where you perform > the import so it should pick up the latest version (1.2 in this case). > > This is curious... > > Cheers, > > Ashwin... > > > > lekkie wrote: >> >> I tried that and it still did not work. >>

Re: Class not found exception when trying to load class with Class.forName("")

2010-02-11 Thread lekkie
ut the Import Package has > the same effect while offering ore control. > > Hope this helps. > > Cheers, > > Ashwin... > > > lekkie wrote: >> >> Hi guys, >> >> I am trying to use spring to manage datasource and I am using >> com

Class not found exception when trying to load class with Class.forName("")

2010-02-11 Thread lekkie
Hi guys, I am trying to use spring to manage datasource and I am using com.mchange.v2.c3p0.DriverManager. I set my dynamicimport package to asterisk as shown below: * I have mssqlserver driver all in one (net.sourceforge.jtds) added as a bundle, installed in servicemix with the ffg manifest: M

Re: Missing dependencies: Spring cannot find com.mchange.v2.c3p0

2010-02-10 Thread lekkie
Resolved. Thanks lekkie wrote: > > I am trying to use com.mchange.v2.c3p0.ComboPooledDataSource in my > camelcontext to create datasource. See below: > > class="com.mchange.v2.c3p0.ComboPooledDataSource" destroy-method="close"> >

Missing dependencies: Spring cannot find com.mchange.v2.c3p0

2010-02-10 Thread lekkie
I am trying to use com.mchange.v2.c3p0.ComboPooledDataSource in my camelcontext to create datasource. See below: ${jdbc.driverClassName} Even though I have included the package in my imported package com.mchange.v2.c3p0, * and I also have it in my dependencies c3p0

how to access SOAP request header

2010-02-08 Thread lekkie
I'd like to access a soap (action) header's and evaluate using xpath in a camel application. How do I do that? kr. -- View this message in context: http://old.nabble.com/how-to-access-SOAP-request-header-tp27501761p27501761.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Setting custom response message after handling exception

2010-02-04 Thread lekkie
he.camel.model.RouteDefinition.addRoutes(RouteDefinition.java:136) Claus Ibsen-2 wrote: > > On Thu, Feb 4, 2010 at 11:52 AM, lekkie wrote: >> >> Hi, >> >> I'd li

Setting custom response message after handling exception

2010-02-04 Thread lekkie
Hi, I'd like to set a custom message body after handling an exception. I have handled an exception with the following, how do I set the body to a desired message? org.apache.servicemix.cxfbc.interceptors.JbiFault true

How to configure JMS to persist message until ack is sent

2010-02-04 Thread lekkie
Hi Guys, I am not sure if this exist today, I 'd like to be able to persist a message in a queue (after retrieving the message) until I consciously send an acknowledgement (that the message can now be removed from the queue). Today, the message leaves the queue as soon as you receive it, but I'd

Re: How to control what is sent to client

2010-02-02 Thread lekkie
This has been resolved. Thanks... especially to Claus. .. ... Never knew I could use aggregationStrategy for Multicast. I just saw the source code and the default constructor accepts one. lekkie wrote: > > What I'd li

Re: How to control what is sent to client

2010-02-02 Thread lekkie
> depending on what you're doing. > > On Tue, Feb 2, 2010 at 1:00 PM, lekkie wrote: >> >> Thanks. >> >> How do I send same message to more than one endpoints, instead of many >> messages to one endpoint? >> >> Is this integration possible? &g

Re: How to control what is sent to client

2010-02-02 Thread lekkie
Thanks. How do I send same message to more than one endpoints, instead of many messages to one endpoint? Is this integration possible? Claus Ibsen-2 wrote: > > On Tue, Feb 2, 2010 at 1:58 PM, lekkie wrote: >> >> Thanks for your response. Much appreciated. >> >&g

Re: How to control what is sent to client

2010-02-02 Thread lekkie
be routed as if > it was newer wiretapped. > So you have to set the reply to be send back to HTTP client from the > original route. > > > On Mon, Feb 1, 2010 at 5:53 PM, lekkie wrote: >> >> Hi guys, >> >> I have this sample I am working. hte processor works fi

How to control what is sent to client

2010-02-01 Thread lekkie
Hi guys, I have this sample I am working. hte processor works fine except that the response sent to the client is not the output form the processor. Here is my snippet: http://0.0.0.0:9001/service?matchOnUriPrefix=true"; /> http:

Re: Aggregator's not returning combined exchanges, only returns last exchange

2010-01-29 Thread lekkie
Node newNode = mergedDocument.importNode(el, true); LOG.info("New Node key: " + el.getNodeName()); LOG.info("New Node value: " + el.getTextContent());

XML request to CSV conversion

2010-01-26 Thread lekkie
Hi guys, I'd like to convert a soap request to a csv file. Also, I'd like the element names to to be the headers for the csv data. kr. -- View this message in context: http://old.nabble.com/XML-request-to-CSV-conversion-tp27329468p27329468.html Sent from the Camel - Users mailing list archive a

Re: Aggregator's not returning combined exchanges, only returns last exchange

2010-01-26 Thread lekkie
Guys, can u help out? lekkie wrote: > > I tried this but it did not work. > > Something strange however, happens. I noticed if I use the default > aggregationStrategy, the log:Response1 will be logged (as null), however > if I changed it to myAggregatorStrategy, it never p

Re: Aggregator's not returning combined exchanges, only returns last exchange

2010-01-24 Thread lekkie
ator will be overhauled in the future, hopefully in 2.3 > > > On Fri, Jan 22, 2010 at 10:05 AM, lekkie wrote: >> >> Hi, >> >> I want to combine messages from 2 different exchanges into a single >> exchange, from the EIP patterns aggregation strategy seems to

Re: Aggregator's not returning combined exchanges, only returns last exchange

2010-01-24 Thread lekkie
ator will be overhauled in the future, hopefully in 2.3 > > > On Fri, Jan 22, 2010 at 10:05 AM, lekkie wrote: >> >> Hi, >> >> I want to combine messages from 2 different exchanges into a single >> exchange, from the EIP patterns aggregation strategy seems to

What Enterprise Integration Pattern will solve this scenario?

2010-01-23 Thread lekkie
I have a request message I intend to send to an exchange to be processed. If the response from the exchange is approved, I intend to send the request message of the original request message to another exchange. Is this achieveable? If yes, what EIP would be most appropriate? regards. -- View t

Re: Aggregator's not returning combined exchanges, only returns last exchange

2010-01-22 Thread lekkie
- new: Exchange[Message: two] > 2010-01-22 09:41:18,445 [0: Batch Sender] INFO > JoinStringAggregatorTest - newly formed: Exchange[Message: > onetwo] > 2010-01-22 09:41:18,800 [0: Batch Sender] INFO AGGREGATION_RESULT > - Exchange[BodyType:String, Body:onetwo] >

Re: Aggregator's not returning combined exchanges, only returns last exchange

2010-01-22 Thread lekkie
newIn.setBody(oldBody + newBody); LOG.info("newly formed: " + newExchange); return newExchange; } } Stan Lewis-3 wrote: > > Can you post what you're doing in your aggregation strategy?

Aggregator's not returning combined exchanges, only returns last exchange

2010-01-22 Thread lekkie
Hi, I want to combine messages from 2 different exchanges into a single exchange, from the EIP patterns aggregation strategy seems to be right pattern to use. However, after reading the doc (http://camel.apache.org/aggregator.html), I followed the instructns but my aggregation strategy only retu

Re: Aggregator's old Exchange returns null

2010-01-22 Thread lekkie
Thanks. lekkie wrote: > > I have a custom aggregator set up. The custom aggregator combines the > exchanges of an old and new one and returns them as one. > > However, when I log the old exchange to the ESB log file, it returns null. > >

Re: Aggregator's old Exchange returns null

2010-01-20 Thread lekkie
gt; > > On Wed, Jan 20, 2010 at 8:35 PM, lekkie wrote: >> >> I have a custom aggregator set up. The custom aggregator combines the >> exchanges of an old and new one and returns them as one. >> >> However, when I log the old exchange to the ESB

Aggregator's old Exchange returns null

2010-01-20 Thread lekkie
I have a custom aggregator set up. The custom aggregator combines the exchanges of an old and new one and returns them as one. However, when I log the old exchange to the ESB log file, it returns null. See my snippet below . htt

Re: NMR endpoint worked first time and stopped working afterwards.

2010-01-19 Thread lekkie
Thanks. willem.jiang wrote: > > Can you try to use osgi:shutdown to stop the ServiceMix? > I don't think kill the ESB console can shut down the ESB gracefully. > > Willem > > lekkie wrote: >> I close the ESB console by killing the command line console (

Re: Compound Correlation Expression

2010-01-18 Thread lekkie
Thanks Claus Ibsen-2 wrote: > > Hi > > Yeah XPath should be able to use or in the expression but I cant > remember the syntax if its or or || or something like that. > Check out google to find the xpath syntax. > > > > On Mon, Jan 18, 2010 at 11:56 AM

Re: NMR endpoint worked first time and stopped working afterwards.

2010-01-18 Thread lekkie
I close the ESB console by killing the command line console (click on close). And I restart by running servicemix.bat Is there a problem with that? willem.jiang wrote: > > Hi, > > How did you restart the ESB console? > > Willem > > > lekkie wrote: >> H

Re: NMR endpoint worked first time and stopped working afterwards.

2010-01-18 Thread lekkie
I close the ESB console by killing the command line console (click on close). Is there a problem with that? willem.jiang wrote: > > Hi, > > How did you restart the ESB console? > > Willem > > > lekkie wrote: >> Hi guys, >> >> I'd like to

Compound Correlation Expression

2010-01-18 Thread lekkie
Hi Guys, I'd like to grep wot comes to a certain route by checking for an element in each exchange's XML message. Each exchange will produce diff exchange message and I 'd like to grep based of each individual element. E.g if I am expecting 3 icoming exchanges

NMR endpoint worked first time and stopped working afterwards.

2010-01-18 Thread lekkie
Hi guys, I'd like to create a camel endpoint just to listen and receive messages. I did the ffg: ... so that I route messages to I tried running d above, it worked fine the first time, but on a restart of the ES

Re: Request message accessibility/manipulation

2010-01-17 Thread lekkie
MyAggregationStrategy not found from bundle > [kimono-processor-bundle] > > The bundle name is different from the Bundle Manifest's > Bundle-SymbolicName. Does it ring the bell ? > > > Willem > > lekkie wrote: >> >> Thanks. >> >> Camel V

Re: Request message accessibility/manipulation

2010-01-15 Thread lekkie
Thanks. Camel Version -> 2.1.0.psc-01-00RC1 Osgi Container -> Karaf Osgi version -> spring-osgi-core (1.2.0) camel-osgi -> (2.1.0.psc-01-00RC1) Bundle Manifest: Manifest-Version: 1.0 Export-Package: org.tempuri;uses:="org.apache.camel,org.apache.camel.p rocessor.aggregate&

Re: Request message accessibility/manipulation

2010-01-15 Thread lekkie
in the manifest, > though I know I've often forgotten to, is it correct? Could you post > the exception trace so we can have a look? > > > On Fri, Jan 15, 2010 at 6:46 AM, lekkie wrote: >> >> Thanks Stephen. >> >> I followed your sample snippet below. >

Re: Request message accessibility/manipulation

2010-01-15 Thread lekkie
to write a custom processor (in place of the mock) to > combine/transform them to your liking as before responding. You can > find a bunch of info about aggregators here > > http://camel.apache.org/aggregator.html > > ste. > > On Thu, Jan 14, 2010 at 12:12 AM, lekkie wr

Request message accessibility/manipulation

2010-01-14 Thread lekkie
Hi guys, Just a quick one. I have this scenario where I 'd like to manipulate a request and some reponse from an endpoint. The flow below describe what I am trying to achieve: http://camel.apache.org/schema/spring"; trace="true"> I'd like the tran

Re: How to set MEP to InOut from Camel application

2009-12-21 Thread lekkie
Thnx. Claus Ibsen-2 wrote: > > On Mon, Dec 21, 2009 at 3:31 PM, lekkie wrote: >> >> How can I achieve same using spring based xml? >> >> My config looks like >> >> >> >> I know setting replyto parameter for the jms sets MEP to inOut but

Re: How to set MEP to InOut from Camel application

2009-12-21 Thread lekkie
e this > from("URI_A").inOut().to("URI_B").inOnly().to("URI_C"); > > Willem > > lekkie wrote: >> Hello guys, >> >> I'd like to set the MEP for a particular message leaving a camel router >> to >> another camel router

How to set MEP to InOut from Camel application

2009-12-21 Thread lekkie
Hello guys, I'd like to set the MEP for a particular message leaving a camel router to another camel router as InOut. How can I achieve that. I understand the default MEP assigned is the one for the source component. I'd like to hardcode a preferred MEP just before sending the message to the N

wrong response returned by camel

2009-12-10 Thread lekkie
Hi guys, I noticed that camel returns the request message sent to an nmr:{namespace}service:endpoint instead of the response returned by the jbi component. I can confirm that the jbi component actually sends the request to the remote webserver and receives a response. I also noticed that these a

Re: Wrong response goes to my replyto queue

2009-12-10 Thread lekkie
Claus Ibsen-2 wrote: > > On Thu, Dec 10, 2009 at 3:27 PM, lekkie wrote: >> >> Hi guys, >> >> The flow below describe the flow of a system I am trying to develop: >> >> jms:queue (camel) -> router (camel) -> xslt translator (cam

Wrong response goes to my replyto queue

2009-12-10 Thread lekkie
Hi guys, The flow below describe the flow of a system I am trying to develop: jms:queue (camel) -> router (camel) -> xslt translator (camel) -> cxfbc:provider (jbi component) The jms:queue is expecting a response (it has a "replyto" parameter) from the router who is expecting response from the

How to return response to queue

2009-12-10 Thread lekkie
Hi guys, The flow below descibe the flow of a system I am trying to develop: jms:queue (camel) -> router (camel) -> xslt translator (camel) -> cxfbc:provider (jbi component) The jms:queue is expecting a response from the router who is expecting response from the xslt translator who is expecting

Unresolve Constraint (package=org.osgi.framework)(version>=1.5.0)

2009-12-03 Thread lekkie
Hi, While trying to install the servicemix-camel bundle (install -s mvn:org.apache.servicemix/servicemix-camel/2009.03-fuse-SNAPSHOT), I encountered the ffg err: s...@root:osgi> install -s mvn:org.apache.servicemix/servicemix-camel/2009.03-fu e-SNAPSHOT ERROR CommandLineExecutionFailed: org.apac

Cannot find class [org.apache.cxf.binding.soap.spring.SoapVersionRegistrar

2009-12-03 Thread lekkie
While trying to deploy the ffg config below: http://camel.apache.org/schema/spring";> http://tempuri.org/}nauRoute/nauRouteEndpoint"/> I encountered th fgg err org.springframework.beans.factory.BeanCreationException: Error creating bea

Receiving messages from NMR address

2009-12-02 Thread lekkie
I want to be able to receive messages from an endpoint with an NMR address say nmr:mynmraddress. Will the config below work fine? http://www.fleettechltd.com/Service.asmx"; wsdlURL="wsdl/Service.wsdl" serviceName="nau:Service" endpoin

Transforming/Decoding Data en-route

2009-11-30 Thread lekkie
Hi People, I have this service engine exposed as a jaxws because I needed to give it an nmr address. Below is the SE impl fxn: public PaymentResponse notifyPayment(PaymentRequest payload) { PaymentResponse response = new PaymentResponse(); LOG.info("Notif

  1   2   >