Skip to content
Advertisement

Tag: apache-camel

ERR_SSL_VERSION_OR_CIPHER_MISMATCH In camel Jetty websockets

I bought ssl certificate and i got .cert file which i imported in jks file using keytool I configure camel like this and i used this like :- but when i am trying to open websocket i am getting this. ERR_SSL_VERSION_OR_CIPHER_MISMATCH any help would be appreciated Answer This worked finally . it didn’t have private key so it was showing

Split a List of Lists with camel splitter

I have many ArrayLists created to hold the collections of separate entities to be split in to their own entities. these are added to an ArrayList then pushed to the exchange where I try to split the List of Lists. I can’t seem to split a list of lists. Tried many variations of the Splitter, with tokens, etc. after collecting

Apache Camel bean parameter binding issue with Spring DSL

I am running into a strange issue with Apache Camel and Spring DSL. Here is an excerpt of my Spring defined route: Everything works fine up until the last line that I posted. The extractDocumentRootOid(Exchange exchange) java method is executed and the result is stored to the documentRootOid header. The getOrganizationByOid(Exchange exchange, String oid) java method is executed and the

Apache Camel mock endpoint

I recently started to investigate Apache Camel and I have one issue. I start writing some test for my routes, and there are a lot of examples, where “to” part of route is written as So, I wrote a test, where I am exepcting to have mock:result as last endproint. Here is the questions: Is this important to write mock:result

Use Exchange Property in Camel DSL “to”

I want to set a property on a Camel Exchange and then use this property when saving the file. In my camel dsl I have the following: The file is being saved as: My processor is as follows: Any thoughts on what may be going wrong or how I can achieve this? Answer The to in the Camel is not

javax.management.AttributeNotFoundException

I am at Camel 2.9.0. I am able to view the MBean data(routes, processors, etc) for running processes in JConsole. I need to display the same in our user interface. While I try to fetch the attribute values, I get the following error. Note – Attribute “EndpointUri” is fetching the right value. Problem is with “FirstExchangeCompletionTime”. So I am concluding

Advertisement