I created a webservice with apache camel using CXF component as bellow :
blueprint.xml:
http://localhost:9050/route";
serviceClass="ngtrend.ws.Testws" />
http://camel.apache.org/schema/blueprint";>
Testws.java:
public class Testws {
@GET
i want to do the same thing. have you found a solution ?
--
View this message in context:
http://camel.465427.n5.nabble.com/Can-we-create-custom-route-policy-tp5753970p5775084.html
Sent from the Camel - Users mailing list archive at Nabble.com.
I'm using camel blueprint.xml and I want to secure routes with Shiro. I
created the following class :
public class ShiroSecurity {
// Shiro configuration file path
private static final String iniResourcePath = "shiro.ini";
// Object used to encrypt/decrypt the tok
i'm using imap endpoint and i try to ignore SSL certificat by using:
the First class *DummySSLSocketFactory* :
public class DummySSLSocketFactory extends SSLSocketFactory {
private SSLSocketFactory factory;
public DummySSLSocketFactory() {
try {
SSLContext sslcontext
Hi,
i have deloyed my application into a container (server1) under a
Fabric-Ensemble that contains 3 Fabric servers separated on 3 Servers
(Machine) at the same LAN , until this stage every things work very Well.
My question is:
what if i face a problem with my first machine wich contains the app
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.
--
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
I already used:
Also i use a split before to browse file. After, i extract
${header.adressemail} and ${header.password} from each line and send them
dynamically to iMap.
--
View this message in context:
http://camel.465427.n5.nabble.com/CAMEL-imap-component-invalid-provider-tp5772621p5772706
i should read mails not send.
--
View this message in context:
http://camel.465427.n5.nabble.com/CAMEL-imap-component-invalid-provider-tp5772621p5772698.html
Sent from the Camel - Users mailing list archive at Nabble.com.
This is the route:
This is the route:
when i run it i got this error:
javax.mail.NoSuchProviderException: invalid provider
at javax.mail.Session.getTransport(Session.java:724)
at javax.mail.Session.getTransport(Session.java:668)
at javax.mail
Hi
I try to set timeout to 2 seconds and Redeliveries to 1
This is the route:
http://URi"/>
here by default the delievrry time is 3. How can i change this ?
httpClient.soTimeout=100 dont work !
--
View this message in context:
http://camel.465427.n5.nabble.com/How-can-i-limit-retrying-CA
Hello,
I try to send request to a webservice with camel and i dont found how to set
httplogin and httppass with
POJO i can do this:
final String s = my_httpLogin+":"+my_httpPwd;
final byte[] authBytes = s.getBytes(StandardCharsets.UTF_8);
final String encoded = Base64.getEncoder().encodeToString
12 matches
Mail list logo