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 7643121
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T09:22:02+00:00 2026-05-31T09:22:02+00:00

im setting up some routes in ActiveMQ using the camel broker for my company

  • 0

im setting up some routes in ActiveMQ using the camel broker for my company
im pretty new to camel and am (again) having problems with a route.
this is my code:

<route id="FTPCOPY">
  <!-- EVERYDAY AT 0800 HOURS  -->
    <from uri="quartz://FTP/FTP.COPY?cron=0+8+00+?+*+FRI-MON"/>
    <from uri="file:/srv/data/test/destination/?include=.*2280.*&amp;noop=true&amp;idempotent=false"/>
    <to uri="sftp://*****:******@csr-1/srv/test/"/>
    <to uri="activemq:queue:ftp.ftp.copy"/>
    </route>

The route works, copies the files and all that but im having problem with the timer, the copying of the files Happens instantly when the ActiveMQ service is started, and then Keeps doing it until i kill the server (Generating quite alot of Overhead on the network too) i want it to run at 0800 hours, and only once.

Any advice?

Sincerely.

  • 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-05-31T09:22:04+00:00Added an answer on May 31, 2026 at 9:22 am

    You can use the scheduled route policy to setup ‘opening hours’ of your routes
    http://camel.apache.org/cronscheduledroutepolicy.html

    Its using the camel-quartz component for the cron expressions.

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

Sidebar

Related Questions

I'm currently having some problems with setting up the right routes for my application.
I'm new to cakephp and I'm having some problems with setting up a local
I'm having some trouble getting routes to match. I am using base-32 encoded int's
I'm setting up some simple url rewriting rules using mod_rewrite and a .htacces file,
I'm using google chrome, is there some setting somewhere I can change?
I've been having some issues setting up a list of items and moving them
I'm setting up some integration tests using capybara and rspec. In a single test,
I'm having some troubles setting up two Areas in my project, I created both
I'm setting some Microdata for products sold by 3rd parties. I have the location
I'm trying to put together a GUI for setting some pricing. There are three

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.