could you please give me the simple example of queue session

Posted on 2012-08-27
Last Modified: 2012-09-07
could you please give me the simple example of queue session

is it jms server needed for this
Question by:stmani2005
    LVL 8

    Author Comment

    I want to know how to store and retreive the queue session
    LVL 35

    Expert Comment

    Do you mean "how to send and receive MESSAGES on a QUEUE"? I don't know what you mean when you refer to a queue session, in that context anyway.
    LVL 8

    Author Comment

    how to send and receive MESSAGES on a QUEUE"?

    yes is it correct.
    LVL 35

    Accepted Solution

    The ActiveMQ that you downloaded will have an "examples" folder that is included. In that I would probably have a look at the "transactions/src/" file as that gives a fairly simple example of sending and receiving messages.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Suggested Solutions

    Title # Comments Views Activity
    tenRun challenge 28 67
    scoresSpecial  challenge 13 34
    Updating Java 9 62
    parentbit challenge 3 37
    An old method to applying the Singleton pattern in your Java code is to check if a static instance, defined in the same class that needs to be instantiated once and only once, is null and then create a new instance; otherwise, the pre-existing insta…
    Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
    Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:
    Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

    760 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    7 Experts available now in Live!

    Get 1:1 Help Now