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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T03:50:58+00:00 2026-05-31T03:50:58+00:00

I want to build simple camel application, which will get xml from URL and

  • 0

I want to build simple camel application, which will get xml from URL and then send it to another URL.

I was trying with:

from("jetty:http://.../sitemap.xml?delay=5000")
        .process(new Processor() {
                    .....
                })
        .to("http://...");

and i found couple of problems:

1) i cant get content from the URL automaticly – something is invoking only when i open web browser with the sitemap.xml, but i want, that my script will connect by it self fo every 5 seconds and receive content

2) when i’m trying to connect to localhost i have problem with socket – `java.net.SocketException: Permission denied

maybe you have some simple example to do something what i need ?
`

  • 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-31T03:50:59+00:00Added an answer on May 31, 2026 at 3:50 am

    camel-jetty is for exposing http endpoints, you need to use camel-http4 to consume from remote http sites…

    also, use camel-timer for periodic operations like this…

    from("timer://foo?fixedRate=true&delay=0&period=5000")
        .to("http4://.../sitemap.xml")
        ...;
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to build a simple application with the MVVM pattern. This application will
I want to build very simple help desk application in purpose of learning grails.
I want to build a simple application for a bookstore. There are a few
I want to build a simple time ticker. Basically I will have a global
I'm a newcomer to Rails. I want to build a simple form that determines
i want to do test and build simple debugger GUI in c++ that debugging
I want to build a bot that asks someone a few simple questions and
I would like to build a simple animation for a school project. I want
I want to build a somewhat simple table with Java (as an exercise) to
I want to build a simple project using a existing archetype. But I can't

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.