The application that I am working on listens to a queue. This queue receives multiple files(Buy/Sell order) from upstream. I am new to this application and trying to underatnsd how multiple files are process. We are using camel to listen to the queue. I understand that camel listens to the queue and when a file comes in it reads it and routes it to a java file to process it. My question is meanwhile a second or 100 messages arrives on the queue. How are these multiple files handles..would camel spawn a new thread to keep listening to messages while other thread routes it??
How does JMS read multiple files on a queue
426 Views Asked by tech_questions At
1
There are 1 best solutions below
Related Questions in JAVA
- Add image to JCheckBoxMenuItem
- How to access invisible Unordered List element with Selenium WebDriver using Java
- Inheritance in Java, apparent type vs actual type
- Java catch the ball Game
- Access objects variable & method by name
- GridBagLayout is displaying JTextField and JTextArea as short, vertical lines
- Perform a task each interval
- Compound classes stored in an array are not accessible in selenium java
- How to avoid concurrent access to a resource?
- Why does processing goes slower on implementing try catch block in java?
- Redirect inside java interceptor
- Push toolbar content below statusbar
- Animation in Java on top of JPanel
- JPA - How to query with a LIKE operator in combination with an AttributeConverter
- Java Assign a Value to an array cell
Related Questions in SPRING
- Redirect inside java interceptor
- Spring RestTemplate passing the type of the response
- spring-integration-dsl-groovy-http return null when i use httpGet method
- Custom Spring annotation for request parameters
- Spring - configure Jboss Intros for xml with java config?
- HTTP Status 404 - Not Found in Spring 3.2.7
- AndroidAnnotations how to use setBearerAuth
- android I/O error: java.security.cert.CertPathValidatorException: Trust anchor for certification path not found
- Show login dialog when not authenticated yet
- Spring Data Rest supporting json and xml
- @Value annotation not resolved in a class that belongs to dependency jar
- Remove nested _embedded fields while using projections
- How to send Rest GET request that contains "#" value in url parameters?
- How to inject spring bean into Validator(hibernate)
- How to keep a variable in the URL when using Spring LocaleChangeInterceptor
Related Questions in APACHE-CAMEL
- Scala POJO Aggregator Exception
- Extract data from JSON in vanilla Java/Camel/Spring
- Camel route, unparsed date
- Camel rabbitmq + convertSendAndReceive() : Could not convert incoming message with content-type [null]
- Apache Camel: How to test for instance of Set<CustomObject>
- Monitoring Multiple Instances of camel web application in a single Dashboard
- Can I split compressed files into json components in Camel via Spring DSL
- Database not update when using apache camel sql component
- Error Injecting endpoint into a bean in Camel
- How to define common route body in camel configuration?
- NoInitialContextException in Apache Camel
- How to notify when a Camel seda queue is complete?
- How to access Default Idempotent Repository map from java dsl?
- Camel HTTP End point Special Charcter(+) issue
- Camel Route as a String load and Run
Related Questions in JMS
- This method is not applicable inside the app server when trying to set a listener for a JMS queue
- How do I Serialize a JMS Message?
- How to use JMS to knows when the last message of a list has been processed
- javax.naming.NoInitialContextException: Cannot instantiate class: weblogic.jndi.WLInitialContextFactory
- Not able to send message to Solace JMS Queue
- JMS Message Selector does not work
- Why is JMS messaging client unable to start, with fedora-commons 3.8.1?
- Grails JMSTemplate how to add MessageConverter to the Message Listener
- Is there a way of accessing maximum redelivery count from a JMS Message?
- Do all ActiveMQ clients need a client certificate?
- Should I consider to use JMS in my case?
- How to Produce from MQTT and consume as MQTT and JMS in ActiveMQ
- Amazon SQS - JMS vs custom implementation
- Valid "protocols" for HornetQ
- Write a Java Program to connect to HornetQ Messaging Service in Jboss EAP 6.3?
Related Questions in CAMEL-JMS
- ActiveMQ embedded bridge to Camel JMS bridge
- Camel 3 - Dynamic uri for deadLetterChannel
- Why are Solace messages hanging on the server on restart after Camel 3 upgrade?
- Apache Artemis no clientId is showing in consumer section of management-console.UI
- Camel transacted JMS component doesn't work with Aggregator
- How to consume messages from Apache Camel JMS as Transacted Batch?
- Object could not transfer in camel JMS queue
- How to filter jms message in apache camel xml configuration file
- How to enable transaction with activemq camel component
- Apache camel graceful route shutdown
- How to set the JMSCorrelationID and correlate with JMSMessageID with a Camel client and a IBMMQ broker
- CAMEL JMS crashed & stop producing messages
- Camel activemq component nosuchmethod exception
- JMS component's bridge error handler not working
- How does JMS read multiple files on a queue
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
This depends on your camel jms consumer setup for
concurrentConsumersandmaxConcurrentConsumers.concurrentConsumersspecify the initial number of concurrent consumer (listener thread/caller thread) for the route. Similarly,maxConcurrentConsumersspecify the maximum number of concurrent consumer for the route.Camel will spawn a new thread for the jms route if
maxConcurrentConsumers>concurrentConsumersand hit the limit for consumers.