Results 1 to 6 of 6

Thread: Getting started with JMS and weblogic 10

  1. #1
    Join Date
    Jul 2010
    Posts
    62

    Getting started with JMS and weblogic 10

    I use Weblogic for a project. I am asked to use the JMS API, However, I have some difficulty starting, My project is a website for a gym , and the user site ( client) use the Training Plan. One function is that each user who wishes to receive a weekly training plan ( new ) for the week, I would therefore like to send mails through javamail has all these customers to tell them nicely that the " training plan " of the week has arrived. And use JMS to send to each of its clients on the site the Training Plan . This can be done in the administrator page that sends the training plan and mail ( by a button ), and I want the user page a link to their " training plan " to appear this week again. Please explain JMS and weblogic 10.

  2. #2
    Join Date
    Feb 2008
    Posts
    1,852

    Re: Getting started with JMS and weblogic 10

    It is sometimes necessary to delete messages from a JMS queue because they are not / no longer fit to be consumed by the application. One approach would be simply to write a client that consumes the messages in question with JMS apis . This approach would work , so whatever the JMS middleware. The approach described here performs this suppression via the apis specific WebLogic JMX. The first advantage is that it proves very simple ( Groovy is here to simplify the use of JMX).Then we can assume that this approach is more efficient ( in particular, it is not necessary to retrieve the message to delete it ) and it works even with Delayed messages : a message with a Time-To -Deliver is not immediately visible by a simple JMS client.

  3. #3
    Join Date
    May 2008
    Posts
    2,297

    Re: Getting started with JMS and weblogic 10

    MX server domain exposed by the server admin gives access to MBeans deployed on all nodes in the WebLogic domain. We can of course do the same manipulations by connecting to a server runtime managed servers in a domain, then we will limit the resources deployed on this node. (The class provides WebLoMBean with the attached code allows access to one or other of these types of servers).

  4. #4
    Join Date
    May 2008
    Posts
    2,389

    Re: Getting started with JMS and weblogic 10

    To get a reference to one or JMSDestinationRuntimeMBean (more accurately obtain the ObjectName representing the object on the server ) , the apis Research jmx server will be used . We just have to know that these MBeans are defined by Key Property " Type " worth " JMSDestinationRuntime " The pattern of ObjectName " com.bea : Type = JMSDestinationRuntime , * " allows you to filter on this type of MBeans.

  5. #5
    Join Date
    Oct 2005
    Posts
    2,393

    Re: Getting started with JMS and weblogic 10

    The JMSDestinationRuntime MBean offer many attributes, I use mainly two:
    * MessagesCurrentCount : the number of message in the queue ( ie single non- visible messages pending)
    * MessagesPendingCount : the number of messages pending in the queue
    A count greater than zero on the first may indicate a drinking problem or show a dysfunction characterized by an accumulation of messages in a queue error
    A count greater than zero on the second shows the currently requested tails and possibly congestion they do not fall to zero quickly.

  6. #6
    Join Date
    Feb 2010
    Posts
    701

    Re: Getting started with JMS and weblogic 10

    The approach is identical to the creation of a JMS message producer , except step 7 Designer JDeveloper. The only differences are in fact the technical properties to specify which vary according to the operation . For example , the message priority is a property that must be updated to the stacking and unstacking not for the stack , we must specify the name of the queue where we want to consume, the type of message, JNDI name associated with JDBC connection used for popping messages, etc.

Similar Threads

  1. Alcatel OT-108 X not getting started
    By Harry-Puttar in forum Portable Devices
    Replies: 4
    Last Post: 13-02-2012, 06:40 PM
  2. Getting started with this Mac OS X
    By Milo D in forum Portable Devices
    Replies: 4
    Last Post: 17-03-2011, 06:23 AM
  3. Apache front end servers configuration for weblogic
    By Umberto-Micro in forum Software Development
    Replies: 5
    Last Post: 28-02-2010, 02:06 AM
  4. Virtual Host in Weblogic
    By Jagdish Gada in forum Software Development
    Replies: 5
    Last Post: 08-01-2010, 01:20 PM
  5. Configuring Active Directory with Weblogic 8.1 SP4
    By Fenton in forum Networking & Security
    Replies: 2
    Last Post: 05-11-2008, 07:24 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,998,931.77751 seconds with 17 queries