Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8922441
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T06:50:07+00:00 2026-06-15T06:50:07+00:00

I am attempting to set up a quartz job which executes a ConsumerTemplate.receive using

  • 0

I am attempting to set up a quartz job which executes a ConsumerTemplate.receive using a dynamic endpoint (related to this question).

From my googling and source code peaking, I see that the ConsumerTemplate will attempt to cache my endpoint, but since it is dynamic that could lead to an OutOfMemoryException and in any case there is no reason to cache a dynamic endpoint. (see http://mail-archives.apache.org/mod_mbox/camel-users/201003.mbox/%3C75bda7a01003222327i456bf92egd37e1d4868d06041@mail.gmail.com%3E)

Is there anyway to indicate that an endpoint should not be cached by the ConsumerTemplate, perhaps an option on the endpoint URI? I see there is a way to set the cache size globally ( https://cwiki.apache.org/confluence/display/CAMEL/How+do+I+configure+the+default+maximum+cache+size+for+ProducerCache+or+ProducerTemplate ), but I don’t think I want to do that since I have several static consumers which probably benefit from the cache.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T06:50:08+00:00Added an answer on June 15, 2026 at 6:50 am

    You can create a consumer template from the API on CamelContext where you can specify a cache limit. http://camel.apache.org/maven/current/camel-core/apidocs/org/apache/camel/CamelContext.html#createConsumerTemplate(int).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm attempting to set up a symbol proxy using symproxy.dll from Debugging Tools for
I am attempting to set up my own project using a third party library
I am attempting to create a set of folders that comes in from a
Attempting to set up Samba + OpenLDAP using nss_ldap. After joining Windows7 to Samba
I am attempting to set a revprop using svnadmin setrevprop /path/to/repos propname propfile -r
I am using Mootools TextBoxList for a project. I was attempting to set the
I'm attempting to set a property on an object using reflection. The property is
I'm attempting to set multiple ACLs in one batch request from appengine (JAVA). I
When attempting to set this up, I am encountering the following error: Traceback (most
I'm attempting to set up a low-level keyboard hook using P/Invoke in an F#

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.