Re: Issue with ApnsServiceFactory

2012-08-17 Thread Claus Ibsen
Hi You may have found a bug in that component. As we love contributions, then feel free to work on a patch and submit it in a JIRA ticket http://camel.apache.org/contributing.html On Fri, Aug 17, 2012 at 3:59 AM, Eli Gelasco eligela...@gmail.com wrote: I found an issue with ApnsServiceFactory

Re: jms static broker setup with iptables

2012-08-17 Thread Claus Ibsen
Hi This is the Apache Camel mailing list. Your question is more suited at the ActiveMQ mailing list (assuming you use that as a broker). If not then that corresponding mailing list / forum of the given broker is the better place to go. On Thu, Aug 16, 2012 at 9:24 PM, Sean K sk92...@gmail.com

Re: Bindy : CSV Header is incorrect

2012-08-17 Thread Willem jiang
It could be easier for use if you can provide a simple test case to reproduce the error. -- Willem Jiang FuseSource Web: http://www.fusesource.com (http://www.fusesource.com/) Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/) (English) http://jnn.javaeye.com

Re: Routing the message to dynamic queue

2012-08-17 Thread devgosain
Thanks a lot michal.warecki, receptionList solved my problem . -- View this message in context: http://camel.465427.n5.nabble.com/Routing-the-message-to-dynamic-queue-tp5717563p5717578.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Bindy : CSV Header is incorrect

2012-08-17 Thread Claus Ibsen
I wonder if its related to line terminators on windows vs linux being different. There is an option on bindy to set if its windows, mac or unix. (I think) On Thu, Aug 16, 2012 at 3:17 PM, houssemgaga belhassine.hous...@gmail.com wrote: Hello, I use the library Bindy for quite some time, and

Re: jms static broker setup with iptables

2012-08-17 Thread Christian Müller
You should ask this question on the ActiveMq users list, IMO... Sent from a mobile device Am 16.08.2012 21:25 schrieb Sean K sk92...@gmail.com: I have two centos machines up and running. When I disable or turn off iptables, the one broker can establish a transport bridge with the other

Re: [OSGi] JmsComponent config for WebSphere Queue ?

2012-08-17 Thread martin
Hello, I managed to realize a connection to the SIBus on WebSphere. The problem is related to package exports / imports in the osgi environment. The Spring JNDI beans are not able to create the initialcontextfactory. This is the osgi blueprint configuration for the jmscomponent: bean

Re: Bindy : CSV Header is incorrect

2012-08-17 Thread houssemgaga
Hello, Thank you for your responses. I just found where it comes from the problem. The process of scanning to find the package on Windows models is different on linux (due to classloading, I think). In fact the two models in my example is successively in the following packages: - Model 1: *com.

Re: JAXB Data Format

2012-08-17 Thread Joe San
I've tried to get rid of this issue but unfortunately could not. What I do not understand is the following: The Error says: Exception in thread main java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory at org.apache.camel.support.ServiceSupport.clinit(ServiceSupport.java:38) at

Re: JAXB Data Format

2012-08-17 Thread Claus Ibsen
On Fri, Aug 17, 2012 at 10:06 AM, Joe San codeintheo...@gmail.com wrote: I've tried to get rid of this issue but unfortunately could not. What I do not understand is the following: The Error says: Exception in thread main java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory at

Re: JAXB Data Format

2012-08-17 Thread Joe San
Just managed to get rid of this issue and I was about to post my solution and saw your message. Added the following as a dependency and it worked! dependency groupIdorg.slf4j/groupId artifactIdslf4j-api/artifactId version1.6.6/version /dependency Regards, Jothi

Re: JAXB Data Format

2012-08-17 Thread Joe San
So here comes the next bump! javax.xml.bind.JAXBException: com.example.filexml doesnt contain ObjectFactory.class or jaxb.index Do I have to add a jaxb.index file to my package? Regards, Jothi On Fri, Aug 17, 2012 at 10:24 AM, Joe San codeintheo...@gmail.com wrote: Just managed to get rid of

Re: JAXB Data Format

2012-08-17 Thread Claus Ibsen
On Fri, Aug 17, 2012 at 10:46 AM, Joe San codeintheo...@gmail.com wrote: So here comes the next bump! javax.xml.bind.JAXBException: com.example.filexml doesnt contain ObjectFactory.class or jaxb.index Do I have to add a jaxb.index file to my package? Yes, see for example p77 in Camel in

Re: exposing different operations under same service in camel + cxf routing.

2012-08-17 Thread anupamsen
My bad, I used the dataFormat as MESSAGE and it seems teh operation name is available only in case of dataFormat = PAYLOAD. It works for me with dataFormat = PAYLOAD. Thanks. -- View this message in context:

Re: How Do We Specify Operation To Choose In Camel CXf

2012-08-17 Thread anupamsen
My bad, I used the dataFormat as MESSAGE and it seems the operation name is available only in case of dataFormat = PAYLOAD. It works for me with dataFormat = PAYLOAD. Thanks. -- View this message in context:

camle ftp file to activemq message

2012-08-17 Thread m.krieken
Hello I am trying to build a route to get a file from a remote ftp , consume it and put the contents of the file into the message. Currently i have this config route descriptionFTP route/description from

Re: JAXB Data Format

2012-08-17 Thread Joe San
Thanks! That solved the problem. Now I'm able to successfully get my example running. But I'm not getting Camel do what I wanted. Here is how my route definition looks like! context.addRoutes(new RouteBuilder() { public void configure() {

Re: camle ftp file to activemq message

2012-08-17 Thread michal.warecki
Do you want to send the content (string) of files to queue? You can try in that way: from uri=ftp://someu...@someserver.com/?password=somepwamp;recursive=trueamp;initialDelay=20amp;delete=trueamp;binary=false/ *convertBodyTo type=java.lang.String/* to uri=activemq:somequuee/ -- View this

Re: JAXB Data Format

2012-08-17 Thread Claus Ibsen
On Fri, Aug 17, 2012 at 11:26 AM, Joe San codeintheo...@gmail.com wrote: Thanks! That solved the problem. Now I'm able to successfully get my example running. But I'm not getting Camel do what I wanted. Here is how my route definition looks like! context.addRoutes(new

Re: How Do We Specify Operation To Choose In Camel CXf

2012-08-17 Thread Willem jiang
When you chose MESSAGE data format, camel-cxf will not read the content and it is impossible to know the operation name without help of the soap action header. If you chose PAYLOAD or POJO, you should be able to get the operation name from the message header. -- Willem Jiang FuseSource

Custom Component Query

2012-08-17 Thread gilboy
Hi I have a custom component which has a ScheduledPollConsumer. The custom component pushes and consumes messages to/from a vendor product via a proprietary network API which the vendor has provided. If I have a network failure my consumer picks up on this straight away as it is polling a

Re: JAXB Data Format

2012-08-17 Thread Joe San
Thanks for the pointer. I made the necessary changes to my route but still unable to make it work! from(file:.?fileName=my.xml).unmarshal(jaxb).bean(new ProcessorBean()).to(file:.?fileName=my1.xml); For convenient sake, I changed the name of the target file (my1.xml). Why would my ProcessorBean

Re: intercept exchange after transaction retry failure

2012-08-17 Thread Claus Ibsen
Hi The TX error handler is working together with a TX manager. And thus you cannot enrich the exchange before it rollback etc. The idea is that the TX manager issues a rollback, and the external system (which delivered the message in the first place) can act accordingly. Often this external

Re: Camel Build Error

2012-08-17 Thread Joe San
I ran the build using -Dmaven.test.skip=true but unfortunately that did not work but -Dtest=false worked. Not sure what the difference is? But anyways thanks for the support. I can now try running the unit tests to get used to the source code. Regards, Jothi On Thu, Aug 16, 2012 at 3:04 AM,

Re: Camel Build Error

2012-08-17 Thread Scott England-Sullivan
You may need to run mvn -Pfastinstall and not -Dtest=false. While the Surefire JUnit test plugin will work, the Failsafe plugin will not support the -Dtest=false switch. On Fri, Aug 17, 2012 at 11:55 AM, Joe San codeintheo...@gmail.com wrote: I ran the build using -Dmaven.test.skip=true but

Aggregator not propagating exception back in camel version 1.6.2

2012-08-17 Thread Neeraj Mahajan
I am calling a route from Aggregator using direct component once aggregation is complete. When the called direct route throws any Exception I expect that aggregator *should not handle* that exception, but the problem I am facing is that the exception is being getting handled by the aggregator

ProducerTemplate and Exception Management

2012-08-17 Thread Hervé BARRAULT
Hi, I used a producer template to send a body. I have found a method which is void *sendBody*(String http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true endpointUri, Object http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true body)

Re: Aggregator not propagating exception back in camel version 1.6.2

2012-08-17 Thread Claus Ibsen
Camel 1.x is EOL and no longer supported at Apache. in your custom aggregatorStrategy you should be able to get the caused exception on the exchange. And decide what to do. On Fri, Aug 17, 2012 at 6:05 PM, Neeraj Mahajan neeraj.maha...@specsavers.com wrote: I am calling a route from Aggregator

Intercept processor/bean

2012-08-17 Thread Łukasz Dywicki
Hey all, Is there a way to intercept custom processor execution? For example my route is following: process(new LoggingProcessor()) or processRef(loggingProcessor) Also, is it's even possible to use interceptSendToEndpoint with bean or beanRef DSL elements? Kind regards, Lukasz