tag:blogger.com,1999:blog-4385605823926057923.post8705824715108983022..comments2022-03-30T04:03:58.782+02:00Comments on Blog of Nicolas Gapaillard: Camel: how to expose static resources in http with jetty componentAnonymoushttp://www.blogger.com/profile/02320300219523167633noreply@blogger.comBlogger3125tag:blogger.com,1999:blog-4385605823926057923.post-79762758761865398662020-08-31T04:07:27.938+02:002020-08-31T04:07:27.938+02:00la société de prêt qui m'accorde un prêt de 5....la société de prêt qui m'accorde un prêt de 5.000.000,00 USD Quand d'autres investisseurs en prêt ont négligé mon offre mais que m. benjamin lee m'accorde un prêt à succès, ils sont directement en financement de prêt et projet en termes d'investissement. ils fournissent des solutions de financement aux entreprises et aux particuliers qui cherchent à accéder aux fonds des marchés financiers, ils peuvent vous aider à financer votre projet ou à développer votre entreprise. Contact par courriel :::: 247officedept@gmail.com ou écrivez sur le numéro de whatsapp au + 1- (989 -394-3740)Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-4385605823926057923.post-44544589765024283162015-01-15T11:01:07.222+01:002015-01-15T11:01:07.222+01:00Hi Claus,
Thank you for the advice, I didn't ...Hi Claus,<br /><br />Thank you for the advice, I didn't consider this point. <br /><br />I think this trick should be use mainly in development environment to deploy static quickly. For production environment, I recommend to use a http server such as apache and nginx. <br /> <br />About the jetty component, you are right, I think it could be interesting to add a component parameter permits to specify a static content base path. This need will be more and more required because of the new javascript framework such as angular, Ember etc. <br /><br />Anonymoushttps://www.blogger.com/profile/02320300219523167633noreply@blogger.comtag:blogger.com,1999:blog-4385605823926057923.post-4470960923025686202015-01-15T07:19:46.560+01:002015-01-15T07:19:46.560+01:00Instead of the mock you should likely use a log an...Instead of the mock you should likely use a log and set the logging level to DEBUG or something. As the mock endpoint keeps a copy of the exchange in memory, and thus it would "eat up memory". You can also set retainFirst=1 on the mock endpoint to only keep the very first in memory, and discard all others.<br /><br />But a nice trick. Btw there was another person in the community that was working on a jetty component that can service static content. But I think its worth revisiting what we can do the camel-jetty to make this easier out of the box.Claus Ibsenhttps://www.blogger.com/profile/17434564836989249540noreply@blogger.com