Skip to content

Tag: apache

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

Jaas Basic Authentication tomcat 7

I keep on getting the same error, I have already changed the tomcat7w file that specifies the jaas config file location I have already added this tom my tomcat7w.exe file. another is that I also have this realm so what am I missing? please help me, I am using netbeans, tomcat 7.0.47. I have resolved to using glassfish! Answer According

Initiate download from certain byte

I would like to implement a distributed download manager on android that initiates downloads at certain byte lengths. So this way portions of files can be downloaded instead of only from the beginning to the end of the http request. Nothing innovative about it, I just don’t know how to do it. (It’s not bitorrent either) In java http apache