Re: camel-cxf and HTTP BASIC authentication

2013-09-04 Thread contactreji
Hi Christian I have followed your steps and made my coade as follows * http://server:8181/mes/bw/Service_Endpoint"; serviceClass="company.pi.mes.id56.copperrecovery.ImplementationClass" wsdlURL="wsdl/myWSDL.wsdl" serviceName="p1:ServiceClas

Re: Camel SFTP down handling

2013-09-04 Thread Claus Ibsen
The file/ftp components also supports the bridgeErrorHandler option. So you can use this. There is also this guy: http://camel.apache.org/maven/current/camel-core/apidocs/org/apache/camel/impl/LimitedPollingConsumerPollStrategy.html On Thu, Sep 5, 2013 at 8:12 AM, Monisha wrote: > Hi, > I have

Re: org.xml.sax.SAXParseException: Premature end of file in split

2013-09-04 Thread Claus Ibsen
Yeah converting to a String is a good idea if the data is in-memory only, eg not a 500mb file you read from the file system etc. A side note: Also the xpath engine from JDK is purely in-memory only. It cannot split / evaluate in streaming mode. You can find some links about splitting big xml file

Camel SFTP down handling

2013-09-04 Thread Monisha
Hi, I have a small camel route having SFTP location as input endpoint. I want to handle the scenario when SFTP is down. Since SFTP does not extend DefaultConsumer, I cannot use the option "consumer.bridgeErrorHandler=true". For now, when SFTP is down or the credentials given are incorrect, the rou

Re: org.xml.sax.SAXParseException: Premature end of file in split

2013-09-04 Thread Preben.Asmussen
Hi Willem No the tracing was enabled using jmx to trubleshot. Thinking of it I recall some bug in Camel with a toString method and streaming. It might be that when tracing is enabled it consumes the stream when calling toString in camel version 2.10.0 ?? What would be the best approach here to a

Re: Command to add activemq-cxf 2.6.0 into karaf

2013-09-04 Thread Claus Ibsen
You typically install using features features:install activemq-xxx You can use TAB completion so after activemq- press TAB and you can see all the features you can choose among to install. On Thu, Sep 5, 2013 at 7:55 AM, mahii.in87 wrote: > > > Hi... > > Kindly adivce me how to install the foll

Re: Camel routing issue after upgrade into active-mq 5.8

2013-09-04 Thread prabumc...@gmail.com
*Queue name* public static final String CONSUMER_TEST_QNAME = "activemq:queue:ConsumerTestHandlerjmsMessageType=Text&preserveMessageQos=true"; public static final String PRODUCER_TEST_QNAME= "activemq:queue:ProducerTestHandler?jmsMessageType=Text&preserveMessageQos=true"; public static fin

Command to add activemq-cxf 2.6.0 into karaf

2013-09-04 Thread mahii.in87
Hi... Kindly adivce me how to install the following *ic-7.1.0.fuse-047 [uninstalled] [5.4.2] activemq cxf- 2.6.0.fuse-71-047* Thanks in advance -- View this message in context: http://camel.465427.n5.nabble.com/Command-to-add-activemq-cxf-2-6-0-i

Re: Problem with FailOverLoadBalancer

2013-09-04 Thread Claus Ibsen
There is low-level API on the FailOverProcessor which can add/remove at runtime. http://camel.apache.org/maven/current/camel-core/apidocs/org/apache/camel/processor/loadbalancer/LoadBalancerSupport.html#addProcessor(org.apache.camel.Processor) Though there is no nice high level API to do that. The

Re: camel-cxf and HTTP BASIC authentication

2013-09-04 Thread contactreji
Hi Christain.. Could you please guide us with the details of dependencies added. Would be really helpful fi you could post the copy of your POM file. Reji -- View this message in context: http://camel.465427.n5.nabble.com/camel-cxf-and-HTTP-BASIC-authentication-tp5716163p5738715.html Sent from

Re: JAAS Authentication - ERROR

2013-09-04 Thread contactreji
Hi Christian I use a jetty version 7.6.7 . Could you suggest something on this? Reji On Wed, Sep 4, 2013 at 6:04 AM, Christian Mueller [via Camel] < ml-node+s465427n5738677...@n5.nabble.com> wrote: > Which Jetty version do you use? > > Christian > Am 03.09.2013 16:56 schrieb "contactreji" <[hi

Re: Camel routing issue after upgrade into active-mq 5.8

2013-09-04 Thread Christian Posta
Maybe a good idea to go through my previous questions closely and provide answers so we can better help you: "What does it do? Does the broker dispatch messages to the client (you can see with the "in-flight" metrics on the broker)? Can you turn up the logging and see what camel is doing? what s

Re: Camel routing issue after upgrade into active-mq 5.8

2013-09-04 Thread prabumc...@gmail.com
Yes I can some messages in dlq.type.specfic.queue and some messgaes on type specific queue. Messges not route to outbound queue. Pls suggest what is the fix for this. It almost 2 days I am having this issue pls suggest On Sep 5, 2013 8:17 AM, "ceposta [via Camel]" < ml-node+s465427n5738709...@n5

Re: Accessing FUSE MQ Enterprise Messaging broker

2013-09-04 Thread Christian Posta
Default port is 61616. And if you run it locally, it should appear on localhost/127.0.0.1 Are you seeing any exceptions in the logs? Or what is it doing when trying to route the message to the queue? But if you're running within the ESB container itself, you should try the vm:// transport (of act

Re: Camel routing issue after upgrade into active-mq 5.8

2013-09-04 Thread Christian Posta
Maybe your TTL is set too short and the broker is rejecting those messages. Can you check your DLQ to see whether the messages are in there? On Wed, Sep 4, 2013 at 7:07 PM, prabumc...@gmail.com wrote: > I am using simple failover url > > Failover:(ssl://br1,ssl://br2) > > my aim is set expiry ti

Re: Camel routing issue after upgrade into active-mq 5.8

2013-09-04 Thread prabumc...@gmail.com
I am using simple failover url Failover:(ssl://br1,ssl://br2) my aim is set expiry time to message thats why I am producertemplate it creating issue here. Message will send Type specific queue After that camel use producertemplate set expiry time to msg it send msg to another outbound queue. N

Re: org.xml.sax.SAXParseException: Premature end of file in split

2013-09-04 Thread Willem Jiang
Hi, Do you always enable to camel tracing in your production environment? SaxParseException: Premature end of file. It looks like a stream consuming issue. We need to know if the message is consumed before routing the splitter for processing. Willem Jiang Red Hat, Inc. FuseSource is now part

Re: Problem with FailOverLoadBalancer

2013-09-04 Thread Willem Jiang
Event you are using the RecipientList, you just setup the fail over endpoint at the design time not the run time. Fuse Fabric[1] can provide the dynamic fail over by leveraging the Zoo Keeper to keep tracking the endpoints. [1]http://fuse.fusesource.org/fabric/docs/overview.html#Camel_Fabric W

Re: Accessing FUSE MQ Enterprise Messaging broker

2013-09-04 Thread contactreji
Hey thanks for the reply I did it with the vm but my project requirements demands using the FUSE MQ itself. Could u guide me how to connect to broker on my local system itself. What is the default URI and port for fuse mq enterprise broker. Do I have to start the instance anywhere inside the

Re: Another code 550 on camel-ftp

2013-09-04 Thread roger_rabbit
After a while , I ended up finding the problem here. I added those parameters to the uri, and all worked suddenly well : > passiveMode=false&binary=true I hope this solution will be usefull for others! Thanks to all those who had a look! -- View this message in context: http://camel.465427.

Re: HTTP endpoint

2013-09-04 Thread Willem Jiang
If you want to set the query parameters, you need to set the header before sending the request. the HTTP method should be POST instead of GET, as you are send the data "mbl-stmt=(synloader(bounding-box 90 -180 -90180)(products(SYN)))". Willem Jiang Red Hat, Inc. FuseSource is now part of Red

RE: HL7 v3

2013-09-04 Thread capzulu
Hello Hadrian, I don't remember what was my last message. But I can tell you that I've used Mirth Connect to work with HL7 v3 messages. I've used a Java library to validate a XML message against a XSD. Send me another message if you want some more details. Best regards, Miguel Castilho

Re: clone camel 2.11.x branch

2013-09-04 Thread Christian Müller
It works in general: with HTTPS: cmueller$ git clone https://git-wip-us.apache.org/repos/asf/camel.git Cloning into 'camel'... remote: Counting objects: 445470, done. remote: Compressing objects: 100% (130404/130404), done. remote: Total 445470 (delta 191440), reused 442610 (delta 190350) Receivin

HTTP endpoint

2013-09-04 Thread sacauskis
I'm trying to set up a camel end point that mimics the following curl query *curl -k -u username:password -H "If-Modified-Since: Tue, 3 Sep 2013 18:10:00 GMT" -d "mbl-stmt=(synloader(bounding-box 90 -180 -90 180)(products(SYN)))" https://weather.server/server/cgi-bin/mcsrvr/server* The code I've

Re: Camel routing issue after upgrade into active-mq 5.8

2013-09-04 Thread Christian Posta
What does it do? Does the broker dispatch messages to the client (you can see with the "in-flight" metrics on the broker)? Can you turn up the logging and see what camel is doing? what sort of ack mode are you using on the connection? On Wed, Sep 4, 2013 at 11:50 AM, prabumc...@gmail.com wrote:

Camel routing issue after upgrade into active-mq 5.8

2013-09-04 Thread prabumc...@gmail.com
My code worked fine in activemq 5.5 only issue after upgrading activemq 5.8 Camel i having code like from(MESSAGING_TEST_CONSUMER_TYPE_SPECIFIC_QNAME).process(new MemosProcess(getContext().createProducerTemplate())) .end(); class MemosProcess implements Processor,QnamesInterface { pri

Re: Camel routing issue

2013-09-04 Thread prabumc...@gmail.com
Hi All, Camel i having code like this from(MESSAGING_TEST_CONSUMER_TYPE_SPECIFIC_QNAME).process(new MemosProcess(* getContext().**createProducerTemplate()*)) .end(); Above code worked fine in activemq 5.5 but after upgrade into active 5.8 it is not working. Message getting hang in MESSAGING_TES

Conceptual understanding of altering routes runtime

2013-09-04 Thread lassesvestergaard
Hi all. This is a spinoff of a previous post: http://camel.465427.n5.nabble.com/Change-timer-runtime-td5738484.html I decided to start a new thread, because I think this question is of a more general character. First of all, I ran into a problem regarding how to update a camel route runtime. My

StopOnException and Conditional Wiretapping

2013-09-04 Thread Christopher Gardner
I have a splitter/streaming route that sends chunks of data to a downstream route. It has a bean that processes the split data and uses a ProducerTemplate to send that processed split data. If the downstream route has a problem, I'd like to stop the splitting process. I understand that if an exc

Re: Camel-configuration

2013-09-04 Thread Claus Ibsen
Yeah you can construct the HL7 message as a String or use the HAPI API where there is java objects with getter/setters for that. On Wed, Sep 4, 2013 at 5:10 PM, TechieDeep wrote: > Thanks for the reply. > > I will check and try to work out. I am trying to construct an HL7 message > from java ob

Re: MultipleConsumer on a vm: endpoint

2013-09-04 Thread Cristiano Costantini
Hi Claus, that what I would expect and it works if all the consumers are on the same CamelContext. If I start two consumers on two different CamelContext, only one is reached by the route, and apparently it is the first one which is registered. thank you for your interest, Cristiano 2013/9/

Re: Sharing a queue between two camel context

2013-09-04 Thread Christian Posta
Yes, subscribe a consumer to the queue, and the consumer will dequeue and ack. The broker will remove the message when ack'd. You can also dequeue through JMX in an administration role. On Wed, Sep 4, 2013 at 6:12 AM, bonnahu wrote: > Hi Chris, > I got another question here for you. I want to

Re: Camel-configuration

2013-09-04 Thread TechieDeep
Hi Claus, The hl7 camel example expects and inbound message in hl7 (correct me if I am wrong). I am trying to create an hl7 outbound message using some values getting from database and sending. -- View this message in context: http://camel.465427.n5.nabble.com/Camel-configuration-tp5732936p5

Re: Problem with FailOverLoadBalancer

2013-09-04 Thread sbo13
Has nobody a solution for adding a variable number of endpoints with dynamic uris? -- View this message in context: http://camel.465427.n5.nabble.com/Problem-with-FailOverLoadBalancer-tp5738515p5738692.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Problem with FailOverLoadBalancer

2013-09-04 Thread sbo13
Has nobody a solution for adding a variable number of endpoints with dynamic uris? -- View this message in context: http://camel.465427.n5.nabble.com/Problem-with-FailOverLoadBalancer-tp5738515p5738689.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel-configuration

2013-09-04 Thread TechieDeep
Thanks for the reply. I will check and try to work out. I am trying to construct an HL7 message from java object having string and list parameters. Can I do it without using HAPI lib. -- View this message in context: http://camel.465427.n5.nabble.com/Camel-configuration-tp5732936p5738690.html

Re: Camel-configuration

2013-09-04 Thread Claus Ibsen
Hi Read on the page, later down there is a little example how to send a HL7 message (from string) to a hl7 endpoint, at section _More Samples_ The endpoint uses 127.0.0.1 as the hostname, but you can use a remote hostname. On Wed, Sep 4, 2013 at 4:33 PM, TechieDeep wrote: > Hi Claus, > > The h

Re: MultipleConsumer on a vm: endpoint

2013-09-04 Thread Cristiano Costantini
More info: I see that VmComponent implementation simply extends the SedaEndpoint and instead of using its queues: private final Map queues = new HashMap(); uses a static map: protected static final Map QUEUES = new HashMap(); well, this is ok and smart, but it happen that when you get

Re: Camel-configuration

2013-09-04 Thread Claus Ibsen
Hi Check the camel-hl7 docs http://camel.apache.org/hl7 There is some details about setting up a hl7 listener in spring xml. Then the rest is just a camel spring xml route which there is plenty of examples on the Camel web site. On Wed, Sep 4, 2013 at 12:36 PM, TechieDeep wrote: > Hi Claus, >

Re: MultipleConsumer on a vm: endpoint

2013-09-04 Thread Claus Ibsen
When you have mutipleConsumers=true and have 2+ consumers on the queue name. Then each of them get a copy of the exchange, to process in parallel. Its kinda like Topics in JMS land. Are you saying you expect something else to happen? On Wed, Sep 4, 2013 at 12:26 PM, Cristiano Costantini wrote:

Re: What is the different between ErrorHandler of the Dead Letter Channel and Exception Clause

2013-09-04 Thread Claus Ibsen
Hi I suggest to read from there and then following the links and whatnot http://camel.apache.org/error-handling-in-camel.html You can also find some 3rd party blogs/articles about Camel error handling here http://camel.apache.org/articles And if you have a copy of Camel in Action book, read chap

Re: MultipleConsumer on a vm: endpoint

2013-09-04 Thread Cristiano Costantini
Hi all again, I have investigated the behavior and I get to the conclusion that vm: does not support the option "multipleConsumers" between different contexts (on the same JVM). Could anyone please confirm if this is the expected behavior or if it is a bug? thank you! Cristiano PS. Here are my c

Re: Sharing a queue between two camel context

2013-09-04 Thread bonnahu
Hi Chris, I got another question here for you. I want to perform a deQueue operation, is it possible? thanks -- View this message in context: http://camel.465427.n5.nabble.com/Sharing-a-queue-between-two-camel-context-tp5738613p5738678.html Sent from the Camel - Users mailing list archive at

Re: Accessing FUSE MQ Enterprise Messaging broker

2013-09-04 Thread Christian Posta
you have to figure out the host/port for the internally running broker. or, better yet, use the vm:// protocol. So you'll have different connection factories (and components) for the broker in the ESB and any external brokers. On Wed, Sep 4, 2013 at 4:25 AM, contactreji wrote: > Hi all > > Can

Re: JAAS Authentication - ERROR

2013-09-04 Thread Christian Müller
Which Jetty version do you use? Christian Am 03.09.2013 16:56 schrieb "contactreji" : > Hi guys > > I deployed my project which contains JAAS Basic Authentication.The camel > xml > file code is as follows. > > *16:39:35,308 | INFO | ise-7.1.0/deploy | fileinstall > | 7 - org.apache.felix.fileins

org.xml.sax.SAXParseException: Premature end of file in split

2013-09-04 Thread Preben.Asmussen
Hi I'm running into a error in production, but not in test while using a splitter with a xpath expression. The route is receiving messages from a jms queue and is calling a rest service on anoter tomcat box. The response should be splittet and send to an activemq topic -> In production I get an S

Getting error after in pom file after adding active mq dependencies

2013-09-04 Thread mahii.in87
Hi... When i am adding active mq dependencies , error is shown in tag in pom file. http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd";> 4.0.0

Re: What is the different between ErrorHandler of the Dead Letter Channel and Exception Clause

2013-09-04 Thread Bilgin Ibryam
Hi Ernest, As the documentation suggests, you can use both at the same time: "Using Error Handler combined with Exception Clause is a very powerful combination. We encourage end-users to use this combination in your error handling strategies." The short answer is that Exception Clause allows you

Accessing FUSE MQ Enterprise Messaging broker

2013-09-04 Thread contactreji
Hi all Can someone guide me how can we send message to queue in FUSE MQ Enterprise. Whats the camel code for it? I am doing it as follows I was doing the same code for ActiveMQ run as separate instance. But now I want to s

Re: Camel-configuration

2013-09-04 Thread TechieDeep
Hi Claus, I am trying to configure camel setup for hl7 outbound messages using camel-spring. can you guide me on that or provide me any reference link which I can use or if you have any example. -- View this message in context: http://camel.465427.n5.nabble.com/Camel-configuration-tp5732936p57

Re: HL7 v3

2013-09-04 Thread TechieDeep
Hadrian, I am working on an integration where I have to send HL7 outbound messages to an openlink from a web service. Can you please elaborate more on your last message. How you worked with xsd and camel -- View this message in context: http://camel.465427.n5.nabble.com/HL7-v3-tp5732915p57386

MultipleConsumer on a vm: endpoint

2013-09-04 Thread Cristiano Costantini
Hi All, I've switched and endpoint using seda: with options multipleConsumers=true and waitForTaskToComplete=Never to using vm: component. After this, the application does not respect anymore the multipleConsumers=true options and two concurrent consumer steal the message. I may have other issue

What is the different between ErrorHandler of the Dead Letter Channel and Exception Clause

2013-09-04 Thread Ernest Lu
hi, What is the different between ErrorHandler and Exception Clause? they can both catch exception. When to use ErrorHandler? When to use Exception Clause? Thanks -- View this message in context: http://camel.465427.n5.nabble.com/What-is-the-different-between-ErrorHandler-of-the-Dead-Letter-

Re: org.eclipse.jetty.http.security nDependency not resolved

2013-09-04 Thread Claus Ibsen
You should use the same version of Jetty, Camel, CXF, etc that Fuse ESB ships out of the box. Don't mix and use different versions in your development project. On Wed, Sep 4, 2013 at 11:54 AM, contactreji wrote: > Hi Claus > > I am not able to put everything into the jetty version 7.6.7. > The mo

Re: org.eclipse.jetty.http.security nDependency not resolved

2013-09-04 Thread contactreji
Hi Claus I am not able to put everything into the jetty version 7.6.7. The moment I put them in 7.6.7 , a pom error flashes near execution tag How can i deal with it when it shows this error? Another strange thing is I need to add a jar

Re: How can I configure and use SearchContext in CXFRS

2013-09-04 Thread Sergey Beryozkin
On 03/09/13 19:48, glsilverman wrote: I think the problem with using Camel CXFRS for CXF configuration in blueprint is exactly how can one inject a SearchContext object when all you have is a SearchContextProvider, which acts as a factory for creating a SearchContext from a CXF message. There is

Re: How to get camel-saxon working in camel 2.11.x (My Solution)

2013-09-04 Thread Claus Ibsen
Hi Yeah for some strange reasons 9.4.0.4 has been deleted from central. Logged a ticket to upgrade to use 9.4.0.7 which is avail https://issues.apache.org/jira/browse/CAMEL-6704 On Wed, Sep 4, 2013 at 10:07 AM, Kojo Ampia-Addison wrote: > Hi Christian, > > I could not run the example as describ

Re: How to get camel-saxon working in camel 2.11.x (My Solution)

2013-09-04 Thread Kojo Ampia-Addison
Hi Christian, I could not run the example as described from the README.txt without the changes I described because: mvn compile failed with the following errors: [INFO] Scanning for projects... [INFO] [INFO] [INFO] Building