Re: weblogic +apache camel

2011-04-29 Thread Claus Ibsen
Hi Yeah there are Camel users who run it on WebLogic. The easiest is of course to use WAR files as they are easily deployable, and often also more portable. What do you exactly mean by "do it in app context"? Do you mean something like an EAR file? On Fri, Apr 29, 2011 at 10:45 PM, sumit singh

Re: Possible Memory Leak when JMX is enabled

2011-04-29 Thread Claus Ibsen
What do you do in your routes? On Sat, Apr 30, 2011 at 12:09 AM, Mike L. wrote: > All: > > Our production servers are experiencing a fairly severe memory leak - it > takes about 12 days to get the dreaded OutOfMemoryExceptions. > We use linux (CentOS 5.x) > Sun 1.6.0_22 JDK > Camel 2.4.0 > Active

Re: SMPP How to receive delivery receipt from smsc as producer?

2011-04-29 Thread viezz
hello Christian, thank you for your reply, but I'm still experiencing the same problem, I don't know if I'm still not quite understand about camel routing, but I've changed my routing after I read the source from you given link. here's my new route: from("file:data/inbox").process(messageProcess

Possible Memory Leak when JMX is enabled

2011-04-29 Thread Mike L .
All: Our production servers are experiencing a fairly severe memory leak - it takes about 12 days to get the dreaded OutOfMemoryExceptions. We use linux (CentOS 5.x) Sun 1.6.0_22 JDK Camel 2.4.0 ActiveMQ 5.3.1 JBoss 4.2.1.GA (I know! It's old.) I've attached two screenprints from the Eclipse M

Migration from Spring-DM to Blueprint. How to test?

2011-04-29 Thread Christian Müller
Hello list! We are planing to migrate from ServiceMix 4.2.0-fuse-02-00 to 4.3.1-fuse-01-09 and from Camel 2.2.0-fuse-02-00 to Camel 2.6.0-fuse-01-09. We also thinking about to migrate from Spring-DM to Blueprint. At present, each of our projects contains three Spring configuration files: - src/mai

Re: tcp monitor?

2011-04-29 Thread Donald Whytock
Checked out Wireshark...looks sophisticated, but can't monitor localhost. Java.net tcpmon works with localhost. It doesn't interlace the dialog packets, but it does the job. Thanks all... Don On Fri, Apr 29, 2011 at 4:04 PM, Łukasz Budnik wrote: > Hi Donald, > > And what about java.net tcpmon

Re: SMPP How to receive delivery receipt from smsc as producer?

2011-04-29 Thread Christian Müller
Hello viezz! You need a ';' between your 'to()' and 'from()' statement. I also recommend to use different systemType values to differentiate between the producer and consumer (as in the test from the link). This link should be helpful for you [1]. [1] https://svn.apache.org/repos/asf/camel/trunk/

weblogic +apache camel

2011-04-29 Thread sumit singh
Hello, I am planning to use camel as routing/process engine within weblogic to orchestrate beans and other logical components Is there best practise/tutorial available how to do it ? I have to do it in app context not web context Any help is much appreciated Thanks

Re: tcp monitor?

2011-04-29 Thread Łukasz Budnik
Hi Donald, And what about java.net tcpmon? http://java.net/projects/tcpmon/sources/svn/show/trunk/www?rev=69 Works like a charm for me. cheers, Łukasz On 29 April 2011 20:54, Donald Whytock wrote: > Hi all... > > Can someone recommend a decent package for tcp activity monitoring? > I'm lookin

Re: tcp monitor?

2011-04-29 Thread boday
http://www.wireshark.org/ wireshark -Ben O'Day IT Consultant -http://benoday.blogspot.com -- View this message in context: http://camel.465427.n5.nabble.com/tcp-monitor-tp4359515p4359644.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Question about Dynamic Router

2011-04-29 Thread Claus Ibsen
On Fri, Apr 29, 2011 at 8:45 PM, Alexandre DUTRA wrote: >> Also your logic does not allow to advance in the steps. So if you >> provide STEP_1 then it cannot advanced to STEP_2 as the header is not >> changed. > > Well, that was by design. I thought it was the application > responsibility to incre

tcp monitor?

2011-04-29 Thread Donald Whytock
Hi all... Can someone recommend a decent package for tcp activity monitoring? I'm looking to observe the dialog between Camel Mail/Javamail and a POP3 server. Apache TCPMon seems to be too SOAP/Axis oriented. On a side note, should there perhaps be a Resources page for this, localhost-able apps

Re: Question about Dynamic Router

2011-04-29 Thread Alexandre DUTRA
> Also your logic does not allow to advance in the steps. So if you > provide STEP_1 then it cannot advanced to STEP_2 as the header is not > changed. Well, that was by design. I thought it was the application responsibility to increment steps and that the dynamic router should only be a tiny wrap

SMPP How to receive delivery receipt from smsc as producer?

2011-04-29 Thread viezz
hello, I'm new to camel and smpp, currently I'm working on a project that requires smpp to send and receive sms from an smsc, i'm making a simulation using smsc from logica. i was using camel-smpp as a producer to send messaage to smsc, here is my routing: from("file:data/inbox").process(messa

Re: Question on RemoveClassTypeInterceptor in Camel Cxf's Payload mode

2011-04-29 Thread Aki Yoshida
Hi, I noticed that CxfConsumerProviderTest did something similar to what I am doing, but it strangely did not encounter this issue. Then, I noticed that this test case was implicitly using the POJO mode and not the PAYLOAD mode. When I added the dataFormat parameter in the endpoint URL (i.e., addi

WS-Notification

2011-04-29 Thread Mark Webb
I have a web service that will send out notifications when a specific event occurs. Does camel have the ability to accept and process WS-Notification messages? Thanks

Re: Inside & Out of OSGI

2011-04-29 Thread sub3
Charles, thanks for you reply. I do have a few follow up questions: Since JNDI is not available in Camel OSGI, I am starting to think I am heading in the wrong direction. I want to be able to determine which queues go to which class/function at runtime. Can that be done anymore? If I gave you a

Re: error handling on Http POST from ActiveMQ to PHP application

2011-04-29 Thread bvahdat
davsclaus wrote: > > Welcome to the Camel community. > > The WARN message > WARN | Execution of JMS message listener failed, and no ErrorHandler has > been set. > > Is in fact not about the Camel error handler. Its about JMS exception > listener you can set on the Activemq/JMS component > htt

Re: camel aop deprecated - what alternative exist

2011-04-29 Thread Claus Ibsen
On Fri, Apr 29, 2011 at 10:02 AM, Charles Moulliard wrote: > Hi, > > Since Camel 2.0, the component camel-aop is deprecated. I try to figure out > which alternative we have to add a pointcut into a camel route > > ex : all my camel routes require that we update the status of the message > processe

Re: Inside & Out of OSGI

2011-04-29 Thread Charles Moulliard
Hi, A few remarks regrading to your code : 1) JNDI is not supported as such on OSGI platform. You can enable this feature using apache Aries project - jndi but it will not work with Camel. Nevertheless, if you use one of the camel registry provided out of the box and not specificallly jndi, you c

Re: HTTP request

2011-04-29 Thread Christian Schneider
I would even propose to use: template = camelContext.createProducerTemplate(); template.sendBody("direct:requestWebservice", " "); Christian Am 29.04.2011 10:38, schrieb Willem Jiang: Hi, You can put the request into the message body instead of using setBody DSL. Here is the code snippet

Re: error handling on Http POST from ActiveMQ to PHP application

2011-04-29 Thread Claus Ibsen
Hi The workaround is to add, just before the end of the route eg http://localhost/mail/index/receive"/> On Fri, Apr 29, 2011 at 10:59 AM, Claus Ibsen wrote: > Hi > > I have reproduced the issue with the latest release. And created a > ticket to track the bug fix

Re: error handling on Http POST from ActiveMQ to PHP application

2011-04-29 Thread Claus Ibsen
Hi I have reproduced the issue with the latest release. And created a ticket to track the bug fix https://issues.apache.org/jira/browse/CAMEL-3913 Thanks for reporting. On Fri, Apr 29, 2011 at 10:09 AM, davsclaus wrote: > What version of ActiveMQ and Camel are you using? > > > -Claus Ibsen

Re: HTTP request

2011-04-29 Thread Willem Jiang
Hi, You can put the request into the message body instead of using setBody DSL. Here is the code snippet. template.send("direct:requestWebservice", new Processor() { public void process(Exchange exchange) throws Exception { exchange.getIn().setBody("encoding

Question on RemoveClassTypeInterceptor in Camel Cxf's Payload mode

2011-04-29 Thread Aki Yoshida
I would like to understand the CxfPayload instantiation for the CXF to Camel direction and the purpose of org.apache.camel.component.cxf.interceptors.RemoveClassTypeInterceptor that gets inserted into the CXF interceptor chain by Camel under the payload mode. I think there is potentially some case

Re: error handling on Http POST from ActiveMQ to PHP application

2011-04-29 Thread davsclaus
What version of ActiveMQ and Camel are you using? -Claus Ibsen - FuseSource Email: cib...@fusesource.com Web: http://fusesource.com Twitter: davsclaus Blog: http://davsclaus.blogspot.com/ Author of Camel in Action: http://www.manning.com/ibsen/-- View this message in context:

Re: error handling on Http POST from ActiveMQ to PHP application

2011-04-29 Thread davsclaus
Welcome to the Camel community. The WARN message WARN | Execution of JMS message listener failed, and no ErrorHandler has been set. Is in fact not about the Camel error handler. Its about JMS exception listener you can set on the Activemq/JMS component http://camel.apache.org/jms Yes I think t

camel aop deprecated - what alternative exist

2011-04-29 Thread Charles Moulliard
Hi, Since Camel 2.0, the component camel-aop is deprecated. I try to figure out which alternative we have to add a pointcut into a camel route ex : all my camel routes require that we update the status of the message processed into the DB before to publish this message into the queue. To achieve

java aop

2011-04-29 Thread Charles Moulliard
-- View this message in context: http://camel.465427.n5.nabble.com/java-aop-tp4358108p4358108.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Question about Dynamic Router

2011-04-29 Thread Claus Ibsen
On Thu, Apr 28, 2011 at 9:54 AM, Alexandre DUTRA wrote: > Sorry, I guess attachments aren't allowed here. Please follow the link > below to see the test case and the patch: > > https://github.com/adutra/camel-dynamic-router > The problem is that your logic in the nextStep method is flawed. In th

HTTP request

2011-04-29 Thread Michael Prieß
Hello, I like to request some data from a soap service and after receiving the response I like to convert the received data in another route. But I not understand how to use the http component to send a http request to the server. Is this the right way to do that?