Hi,
Do you see anything comming up on logs ? if yes please share that.
Regards,
-Yogesh
--
View this message in context:
http://camel.465427.n5.nabble.com/File-to-JMS-queue-not-working-tp5772904p5772923.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Any help please ?
-
Othman Darwish
ProgressSoft Corp.
--
View this message in context:
http://camel.465427.n5.nabble.com/Exchanges-body-and-properites-are-not-collected-if-it-contains-reference-object-which-lead-to-memoryk-tp5772861p5772922.html
Sent from the Camel - Users mailing list arc
> I cannot find any examples for setting up camel-cxf using blueprint, can
> someone point me the right direction?
> The one I have found uses spring, is there a way to not use spring for this
> component?
This is a stripped down blueprint XML file that works. If I stripped too much
and it doesn'
I cannot find any examples for setting up camel-cxf using blueprint, can
someone point me the right direction?
The one I have found uses spring, is there a way to not use spring for this
component?
Thank you! I can confirm it works very well
--
View this message in context:
http://camel.465427.n5.nabble.com/Camel-tracer-logs-in-hawtio-tp5772869p5772917.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Yes as then its the same jvm that host the same app and you are in
better control of the logging. You can then add that log4j-insight
mbean that is needed.
See here how ActiveMQ does it
https://github.com/apache/activemq/blob/master/assembly/src/release/conf/activemq.xml#L32
On Tue, Oct 20, 2015
Would it work if we run Camel as a standalone app with hawtio embedded? It
should be possible for us to switch to this.
--
View this message in context:
http://camel.465427.n5.nabble.com/Camel-tracer-logs-in-hawtio-tp5772869p5772910.html
Sent from the Camel - Users mailing list archive at Nabbl
Yes *template* is null, you need to create the template one time
before you can use it.
Also a good idea during coding is to run and debug the code, and set a
breakpoint.
On Tue, Oct 20, 2015 at 4:26 PM, zied123456 wrote:
> Also with only :
>
> public void handleException(final String message,
Also with only :
public void handleException(final String message, final Exchange
originalExchange, final Throwable exception) {
template.sendBody("file://mail?fileName=mailtext3.txt", "Cannot
connect:"
+exception);
}
}
it doesn't work.
--
{
CamelContext context = new DefaultCamelContext();
ConnectionFactory connectionFactory = new
ActiveMQConnectionFactory(
"tcp://localhost:61616");
context.addComponent("jms",
JmsComponent.jmsComponen
Your produce template is very likely null
On Tue, Oct 20, 2015 at 4:03 PM, zied123456 wrote:
> I want to write the excpetion in a file :
>
> *This is the route:*
>
> class="com.ngtrend.readmail2.MyExceptionHandler"/>
>
>
>
>
>
> this is what i set in *myExceptionHandler class:*
>
> public clas
I want to write the excpetion in a file :
*This is the route:*
this is what i set in *myExceptionHandler class:*
public class MyExceptionHandler implements ExceptionHandler {
private ProducerTemplate template;
public void *handleException*(String message,Throwable exception
Hi,
I am using netty to send a request over a TCP socket. When I send the request I
need to send 4 bytes length of the message and then followed by an
XML payload. On response I am getting 4 bytes length and then XML payload. Now
I wrote a client code to connect the camel route and sending messa
You can use the addService api on CamelContext - see its javadoc
On Tue, Oct 20, 2015 at 1:55 PM, Shylendran C wrote:
> Thanks for your reply.
> So, just want to confirm - no need to put the start() and stop() for each
> thread, is that correct?
> And, our application will be running for ever (u
Thanks for your reply.
So, just want to confirm - no need to put the start() and stop() for each
thread, is that correct?
And, our application will be running for ever (untill we manually kill the
process), so I am not sure where to put the stop() method. Any suggestions?
Thanks again,
Shylendran
Ah sorry I was to fast, there is a CamelSpringTestSupport in
camel-testng you can use.
See how it test itself in its own unit tests of camel-testng
On Tue, Oct 20, 2015 at 9:34 AM, Claus Ibsen wrote:
> If camel-context.xml is a spring xml file, then you must use
> camel-test-spring for unit test
If camel-context.xml is a spring xml file, then you must use
camel-test-spring for unit testing
On Tue, Oct 20, 2015 at 9:17 AM, contactreji wrote:
> Hey all
>
> As of now, I have a route created using RouteBuilder API in my below test
> class.
>
> I was kinda wondering if I can start routes defi
Hey all
As of now, I have a route created using RouteBuilder API in my below test
class.
I was kinda wondering if I can start routes defined in camel-context.xml
file in the project class path. What if I wanna unit test the routes in
camel-context.xml file. Is there a way I can modify my below te
Thanks Claus.
It worked :-) . The import package statement was the culprit.
I replaced it with import org.apache.camel.testng.CamelTestSupport;
Cheers
-Reji
-
Reji Mathews
Sr. Developer - Middleware Integration / SOA ( Open Source - Apache Camel &
Jboss Fuse ESB | Mule ESB )
LinkedIn -
19 matches
Mail list logo