Re: Does camel-restlet currently support the https protocol?

2009-07-17 Thread Claus Ibsen
Hi William Tam have created this component, so he is the best person to tell. On Fri, Jul 17, 2009 at 12:47 PM, rgavlin wrote: > > On the camel-restlet wiki page, it states that camel-restlet currently > supports only the http protocol? What is the state of https protocol support > in camel-restl

Re: Security Issue when using Camel and ActiveMQ

2009-07-17 Thread Claus Ibsen
On Fri, Jul 17, 2009 at 6:05 PM, EricMeena wrote: > > Thanks Claus, > > Found the problem. Yes, everything was being set on the connection factory > before being passed or set on the camel JmsComponent, including the user > name and password. But my mistake was that I was passing in the encrypted >

Re: Camel 2.0 Transaction Rollback

2009-07-17 Thread Claus Ibsen
Hi You route is not listed in the mail. Could you try sending it again? On Fri, Jul 17, 2009 at 9:53 PM, greenbean wrote: > > Here is the sample route: > > > > > > >                    java.lang.Exception > > > > > > > Here is some of the debug logging: > 2009-07-17 19:47:07,045 DEBUG > [org.apa

Re: Camel and IBM MQ Series

2009-07-17 Thread Claus Ibsen
Hi Jason Thanks a lot for sharing this. I have added a link from the Camel JMS documentation to this post at nabble so others can find your solution in the future. On Fri, Jul 17, 2009 at 9:23 PM, Jason Queen wrote: > > I recently went through figuring out how to use MQ with camel 1.6.  Below is

Re: FTP Component Network Failure Recovery Problem

2009-07-17 Thread Claus Ibsen
On Fri, Jul 17, 2009 at 8:55 PM, Jason Queen wrote: > > The fix worked.  Now in my test case when the cable is unplugged every 20 > secs. it tries to scan the folder fails and retries 3 times (default > behavior) then gives up.  Once the network connection is restored it > reconnects and processes

Re: Error in JAXB Wiki Documentation?

2009-07-17 Thread Willem Jiang
Which version of Camel are you using? I checked the CamelContextFactoryBean in camel-spring module in Camel trunk and camel-1.x branch, there is a dataFormats member. @XmlElement(name = "dataFormats", required = false) private DataFormatsDefinition dataFormats; So the wiki code should work :)

Re: Error in JAXB Wiki Documentation?

2009-07-17 Thread Christian Schneider
I just wanted to correct the seemly wrong documentation on the wiki and saw that the wiki includes the xml config from the jaxb tests. So I would guess that it should work with if this test is active. Any idea why it did not work for me? Greetings Christian Christian Schneider schrieb: Hi,

Re: Camel 2.0 Transaction Rollback

2009-07-17 Thread greenbean
Here is the sample route: java.lang.Exception Here is some of the debug logging: 2009-07-17 19:47:07,045 DEBUG [org.apache.camel.s

Re: Camel and IBM MQ Series

2009-07-17 Thread Jason Queen
I recently went through figuring out how to use MQ with camel 1.6. Below is how I did it. Hope it helps. MQQueueConnectionFactory cf = new MQQueueConnectionFactory(); JmsConfiguration jc = new JmsConfiguration(cf); cf.setHostName("server"); cf.

Re: FTP Component Network Failure Recovery Problem

2009-07-17 Thread Jason Queen
The fix worked. Now in my test case when the cable is unplugged every 20 secs. it tries to scan the folder fails and retries 3 times (default behavior) then gives up. Once the network connection is restored it reconnects and processes normally. One last question, will this also fix the sftp com

Re: Security Issue when using Camel and ActiveMQ

2009-07-17 Thread EricMeena
Thanks Claus, Found the problem. Yes, everything was being set on the connection factory before being passed or set on the camel JmsComponent, including the user name and password. But my mistake was that I was passing in the encrypted value of the password and the JmsComponent was taking it the

Re: Camel 2.0 Transaction Rollback

2009-07-17 Thread Claus Ibsen
On Fri, Jul 17, 2009 at 3:34 PM, greenbean wrote: > > We are using Camel 2.0 with ActiveMQ 5.  Our Camel routes participate in a XA > transaction.  When errors occur we expect the transaction to rollback to a > JMS queue.  We have ActiveMQ configured to send the message to a DLQ where > it then tra

Re: Camel and IBM MQ Series

2009-07-17 Thread Claus Ibsen
On Fri, Jul 17, 2009 at 3:41 PM, aliasrob wrote: > > > > Claus Ibsen-2 wrote: >> >> Hi >> >> Welcome to the Camel. >> >> On Thu, Jul 16, 2009 at 10:52 PM, aliasrob wrote: >>> >>> Hello has anyone ever used Camel with IBM's MQ Series. We are looking at >>> possible using the two products together bu

Re: How to get SOAP Headers with dataFormat=POJO (camel 1.6)

2009-07-17 Thread Willem Jiang
In Camel 2.x , you can get the SOAP header directly from in message with the Header.HEADER_LIST key. Willem Willem Jiang wrote: Hi, OK, in Camel 1.x , you can get the CXF Message directly from the exchange CxfMessage cxfMessage = (CxfMessage) exchange.getIn(); org.apache.cxf.message.Message m

Re: How to get SOAP Headers with dataFormat=POJO (camel 1.6)

2009-07-17 Thread Willem Jiang
Hi, OK, in Camel 1.x , you can get the CXF Message directly from the exchange CxfMessage cxfMessage = (CxfMessage) exchange.getIn(); org.apache.cxf.message.Message message = cxfMessage.getMessage(); List heads = message.get(org.apache.cxf.headers.Header.HEADER_LIST)); , then you can read the

Re: Camel and IBM MQ Series

2009-07-17 Thread aliasrob
Claus Ibsen-2 wrote: > > Hi > > Welcome to the Camel. > > On Thu, Jul 16, 2009 at 10:52 PM, aliasrob wrote: >> >> Hello has anyone ever used Camel with IBM's MQ Series. We are looking at >> possible using the two products together but have no example or the two >> products working together >>

Camel 2.0 Transaction Rollback

2009-07-17 Thread greenbean
We are using Camel 2.0 with ActiveMQ 5. Our Camel routes participate in a XA transaction. When errors occur we expect the transaction to rollback to a JMS queue. We have ActiveMQ configured to send the message to a DLQ where it then travels down a error route. This worked in the past. However

Does camel-restlet currently support the https protocol?

2009-07-17 Thread rgavlin
On the camel-restlet wiki page, it states that camel-restlet currently supports only the http protocol? What is the state of https protocol support in camel-restlet? /Ron -- View this message in context: http://www.nabble.com/Does-camel-restlet-currently-support-the-https-protocol--tp24532259p2

Re: How to get SOAP Headers with dataFormat=POJO (camel 1.6)

2009-07-17 Thread kav m
Hi Willem, Thanks a lot for your response ! I tried to use the option '-exsh true' for wsdl2java and regenerated the code after doing a clean. But I am still getting the same error as before. The way I am using the wsdl2java cxf plugin in my pom with the exsh option is as follows:

Re: How to get SOAP Headers with dataFormat=POJO (camel 1.6)

2009-07-17 Thread Willem Jiang
Hi CXF supports to map the message header into the SEI's opteraion parameter, but you need to enable this by passing the option "-exsh true" into WSDL2Java. If you want to a more general way to get the SOAP header, you try the WebServiceProvider API[1] or PAYLOAD dataformat[2] [1] http://

How to get SOAP Headers with dataFormat=POJO (camel 1.6)

2009-07-17 Thread kav m
Hi, I am using camel 1.6 and have a cxf web service endpoint which receives a SOAP request. I need to extract the SOAP Headers out of this request. I tried to use the following code: code I used---BEGIN Map headers = arg0.getIn(