JNDI Newbe questions  : Connecting to MQSeries queue using JMS

Hi.
I'm trying to make a connection to a MQseries cueue using JMS and as I understand it I have to look some things up in a JNDI server.
Right now I'm using the IBM Websphere test environment inluded in Visual Age for Java but later this aplication will be deployed on a Webphere 3.5 server.
Question 1 : (code grabbed from an example)
queueConnectionFactory = (QueueConnectionFactory)           jndiContext.lookup("QueueConnectionFactory");
queue = (Queue) jndiContext.lookup(queueName);
When i run an lookup on from my initial context I take it that it tries to search through the JNDI directory which lives within my Websphere Test environment. Ofcourse it doesn't find anything called "QueueConnectionFactory" so: What am I looking for here?
I guess I want to find the MQseries server here right? Firstly I don't know what that one is called (is there a generic name?!) and second i suspect that the MQ server is not registrated in my local JNDI server...
which lead me to Question 2 :
Do I register a remote server in my JNDI directory OR do I try to connect to the real JNDI directry (that might have information on the MQ service) ?

You are looking for the queue manager name in this case. You need a queue manager name and a queue name in you code, you also need define a queue manager and a queue in MQSeries. Then in your WebSphere Test Environment (Or run MQSeries command when you deploy this application, refer to its document) to define the relation between these two pairs of managers and queues. You may actually go to read these two articals and you'll feel much better to do this:
http://www.developer.ibm.com/library/articles/programmer/farrell1.html
http://www.developer.ibm.com/library/articles/programmer/farrell2.html
Hope its helpful. Don't forget my 'dollars' if you feel this info is good for you.
PC

Similar Messages

  • Triggering MQ Queues using JMS

    Hi
    I want to associate a MQ trigger to a JMS queue. But as per JMS1.1 specification it stated that "JMS does not provide a mechanism for
    triggering the execution of the client.
    I came to know that using JMS interfaces and IBM MQ implementations, it is possible to do this.
    Can anyone tell me, how can i do this.
    Regards
    Srinivas

    Simple thing to do would be to write a JMS listener then call Runtime.getRuntime().exec("path_to_executable") from inside the onMessage() method.
    There's probably a category 2 service pack for MQ that will do something similar without using JMS - try posting on mqseries.net

  • How to forward message to two different queue using jms proxy service

    Hi all,
    In my project I need to listen to one jms queue then forward the messages to two different queue.
    Now I already made one proxy for listening to the queue then pass it to another queue using business service, It works.
    But how to forward the messages to two different queue in same flow process using one proxy and bs??
    or any other way?
    Really thanks in advance.
    Regards,
    Kahlil

    Hi,
    I have a MQ queue and i created a Proxy to listen to the queue , but i dont see any activity in OSB logs ..how do i knw if OSB proxy is polling that MQ ( mq is the transport protocol that i am using ) .
    Thanks
    Prarthana.

  • Push different type of messages to JMS Queue using JMS Adapter

    Platform: Oracle SOA 11g. JMS Adapter.
    I got to push different types of messages as string to same queue. JMS Adapter requires schema to push a message to a queue. Since messages are of different types, how can I push them into queue. I tried to use singleString schema. Result is that actual message gets wrapped into <singleString> root element which is not the required result.
    Any hints or links shall be appreciated.

    Thanks fo ryour reply and help. I appreciate that.
    Wrapping of original message in <singleString>  element is done by JMS Adapter as the very last activity/setting. I am not composing/transforming message into final shape with singleString through transformation.
    Once message is with JMS adapted on one end, it is in Queue on the other end. No control.
    Since consuming end is not in my control and requires the actual message in Text format, I need to have the message target queue in Text format.
    If I select the Opaque schema, following error message is thrown.
    <bpelFault><faultType>0</faultType><mismatchedAssignmentFailure xmlns="http://docs.oasis-open.org/wsbpel/2.0/process/executable"><part name="summary"><summary>Mismatch Assign. cannot set a nonmessage value to a message-based variable. An attempt to assign a nonmessage value to a message-based variable failed. Verify the BPEL source for invalid assign activities.< /summary></part></mismatchedAssignmentFailure></bpelFault>

  • Question connecting iphone 4s wifi using SSID and WEP where do I

    Question, I am trying to connect my iphone 4s to a wireless router using SSID and WEP. I have entered the MAC Address on the phone into the Router's Security list.
    I think that I also need to enter a code or passphrase on to the phone as well.
    Does anyone know how this is done and where do I do it?
    Thank you in advance.

    Check the wireless security option of your Wi-Fi router:
    If you are using WEP security and have multiple WEP keys on your Wi-Fi router, try configuring your Wi-Fi router to use only a single WEP key in key index 1.
    Consider using WPA or WPA2 instead. WPA and WPA2 encryption protocols are newer, more effective security options for wireless networks than the older WEP protocol.

  • Newbie question - Portlet development in Portal using JDeveloper

    Hello.
    I've tried to develop a portlet using Oracle JDeveloper, then using it in an Oracle Portal-provided web page.
    I'm so really confused... I don't know where to start!
    Let'say the portlet is a very simple Hello World static html or jsp page.
    What could I do in order to use it in Portal?
    Have I to use jpdk? How?
    Or have I to deploy it in the Application Server home OC4J as a web application?
    Or have I to deploy it in the OC4J_Portal as a web application?
    Or....
    If this helps, here is my platform:
    I'm using Oracle Application Server 10g Portal as middle-tier. It is correlated to an OID/Infrastructure istance wich provides Single SignOn for the applications, based upon an Oracle 9i database, in which runs Oracle Workflow; my needs are to use a Workflow based Java applications in the Oracle Portal as portlets.
    Don't worry: by now, I'm interested in just knowing how to run in the Portal a simple Hello World portlet built with JDeveloper...
    Please, help me.
    Thank you in advance.
    - Umberto

    Hi Umberto,
    Did you have a chance to take a look at the Portal Developer's Guide?
    The Building Java Portlets chapter walks you through the steps you need to take.
    Good luck,
    Peter

  • Newbie question: how to compile servlet using tomcat?? Thank you

    How to set classpath? How to compile servlet.java?

    jsp is also converted into a servlet .java nd then into a class file
    this is index.jsp
    <%@ page contentType="text/html;charset=windows-1252"%>
    <html>
      <head>
        <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
        <title>untitled</title>
      </head>
      <body>
      </body>
    </html>this is _index.java
    /*@lineinfo:filename=/index.jsp*/
      /*@lineinfo:generated-code*/
    import oracle.jsp.runtime.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import javax.servlet.jsp.*;
    public class _index extends com.orionserver.http.OrionHttpJspPage {
      public final String _globalsClassName = null;
      // ** Begin Declarations
      // ** End Declarations
      public void _jspService(HttpServletRequest request, HttpServletResponse response) throws java.io.IOException, ServletException {
        response.setContentType( "text/html;charset=windows-1252");
        /* set up the intrinsic variables using the pageContext goober:
        ** session = HttpSession
        ** application = ServletContext
        ** out = JspWriter
        ** page = this
        ** config = ServletConfig
        ** all session/app beans declared in globals.jsa
        PageContext pageContext = JspFactory.getDefaultFactory().getPageContext( this, request, response, null, true, JspWriter.DEFAULT_BUFFER, true);
        // Note: this is not emitted if the session directive == false
        HttpSession session = pageContext.getSession();
        if (pageContext.getAttribute(OracleJspRuntime.JSP_REQUEST_REDIRECTED, PageContext.REQUEST_SCOPE) != null) {
          pageContext.setAttribute(OracleJspRuntime.JSP_PAGE_DONTNOTIFY, "true", PageContext.PAGE_SCOPE);
          JspFactory.getDefaultFactory().releasePageContext(pageContext);
          return;
        int __jsp_tag_starteval;
        ServletContext application = pageContext.getServletContext();
        JspWriter out = pageContext.getOut();
        _index page = this;
        ServletConfig config = pageContext.getServletConfig();
        try {
          // global beans
          // end global beans
          out.write(__oracle_jsp_text[0]);
        catch( Throwable e) {
          try {
            if (out != null) out.clear();
          catch( Exception clearException) {
          pageContext.handlePageException( e);
        finally {
          OracleJspRuntime.extraHandlePCFinally(pageContext,false);
          JspFactory.getDefaultFactory().releasePageContext(pageContext);
      private static final char __oracle_jsp_text[][]=new char[1][];
      static {
        try {
        __oracle_jsp_text[0] =
        "\n<html>\n  <head>\n    <meta http-equiv=\"Content-Type\" content=\"text/html; charset=windows-1252\">\n    <title>untitled</title>\n  </head>\n  <body>\n  </body>\n</html>\n".toCharArray();
        catch (Throwable th) {
          System.err.println(th);
    }as you can see.. my IDE converts it into a java class so it can be conpiled to a class file.. by the way i use Oracle Jdeveloper 10g for this pupose of showing you what is happening to your jsp

  • How to send message to a queue using JMS adapter

    Hi,
    I need to send messages to the default queue(demoQueue) available in the server using a JMS adapter in a BPEL process.
    I tried doing the same by using an invoke activity that invokes the JMS adapter service to send the message to the queue. I deployed this process in the server and gave an input to send it to the queue. The prcoess executed without any errors in the BPEL console.
    I am also using Hermes v1.0 to monitor the queue but it says that it dint receive any messages in the queue to read.
    I am sorry that i have restrictions from the client that i can't post the code here. Please let me know if anyone has got any solution or if you know any other way of doing the same.
    Thank you
    Message was edited by: prince
    the_prince

    You can use the following procedure :
    DBMS_AQ.ENQUEUE (
    queue_name IN VARCHAR2,
    enqueue_options IN enqueue_options_t,
    message_properties IN message_properties_t,
    payload IN "<ADT_1>",
    msgid OUT RAW);

  • How to send message to Queue using JMS

    Hai Friends,
    I have written one program, which sends one seriablizable object to the queue. At
    queuesender.send(objectmessage) statement
    i am getting the following exception, but message is going to queue. The next statement is not executing. Next statements is simple debug statement.
    i.e.,System.out.println("Message has been send");
    why this is not working let me know plzz
    HERE is EXception
    <May 15, 2006 11:02:46 AM IST> <Alert> <JMS> <BEA-040049> <JMSServer "cgJMSServer" store failure occurred while writing message for queue ACMQueue, java.io.IOException: JMS JDBC store, connection pool = <cgJMSPool-nonXA>, prefix = <weblogic>: flush failed
    java.io.IOException: JMS JDBC store, connection pool = <cgJMSPool-nonXA>, prefix = <weblogic>: SQL exception
    java.sql.SQLException: Connection failure. sendMethodRequest(...).

    Hai Friends,
    Previously i didn't give full stack trace. now i am sending the exact stack trace and little bit code. Plz help me
    CaseQuerySearchResult cqsr = new CaseQuerySearchResult();
    ObjectMessage obj = qsession.createObjectMessage();
    while(rs.next())
         // I am getting 10 fields from DB and setting those values like the following,
         cqsr.children.setLoan(rs.getString(1));
    obj.setObject(cqsr);
    qconnection.start();
    System.out.println("----B4 qsender----");
    qsender.send(obj);
    System.out.println("----After qsender----");
    <May 15, 2006 12:05:47 PM IST> <Alert> <JMS> <BEA-040095> <JMSServer "cgJMSServer". Store I/O failure, java.io.IOException: JMS JDBC store, connection pool = <cgJMSPool-nonXA>, prefix = <weblogic>: ping failed, database not responding
    java.io.IOException: JMS JDBC store, connection pool = <cgJMSPool-nonXA>, prefix = <weblogic>: SQL exception
    java.sql.SQLException: Connection failure. sendMethodRequestNoFlush(...).
    at com.pointbase.dbexcp.dbexcpException.getSQLException(Unknown Source)
    at com.pointbase.net.netJDBCPrimitives.sendMethodRequestPrivate(Unknown Source)
    at com.pointbase.net.netJDBCPrimitives.sendMethodRequestByID(Unknown Source)
    at com.pointbase.net.netJDBCConnection.setAutoCommit(Unknown Source)
    at weblogic.jdbc.wrapper.PoolConnection.setAutoCommit(PoolConnection.java:141)
    at weblogic.jms.store.JDBCIOStream.opendb(JDBCIOStream.java:2205)
    at weblogic.jms.store.JDBCIOStream.ping(JDBCIOStream.java:1286)
    at weblogic.jms.store.StoreRequest.doTheIO(StoreRequest.java:355)
    at weblogic.jms.store.JMSStore.execute(JMSStore.java:493)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
    at weblogic.jms.store.JDBCIOStream.throwIOException(JDBCIOStream.java:498)
    at weblogic.jms.store.JDBCIOStream.opendb(JDBCIOStream.java:2287)
    at weblogic.jms.store.JDBCIOStream.ping(JDBCIOStream.java:1286)
    at weblogic.jms.store.StoreRequest.doTheIO(StoreRequest.java:355)
    at weblogic.jms.store.JMSStore.execute(JMSStore.java:493)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
    java.io.IOException: JMS JDBC store, connection pool = <cgJMSPool-nonXA>, prefix = <weblogic>: ping failed, database not responding
    java.io.IOException: JMS JDBC store, connection pool = <cgJMSPool-nonXA>, prefix = <weblogic>: SQL exception
    java.sql.SQLException: Connection failure. sendMethodRequestNoFlush(...).
    at com.pointbase.dbexcp.dbexcpException.getSQLException(Unknown Source)
    at com.pointbase.net.netJDBCPrimitives.sendMethodRequestPrivate(Unknown Source)
    at com.pointbase.net.netJDBCPrimitives.sendMethodRequestByID(Unknown Source)
    at com.pointbase.net.netJDBCConnection.setAutoCommit(Unknown Source)
    at weblogic.jdbc.wrapper.PoolConnection.setAutoCommit(PoolConnection.java:141)
    at weblogic.jms.store.JDBCIOStream.opendb(JDBCIOStream.java:2205)
    at weblogic.jms.store.JDBCIOStream.ping(JDBCIOStream.java:1286)
    at weblogic.jms.store.StoreRequest.doTheIO(StoreRequest.java:355)
    at weblogic.jms.store.JMSStore.execute(JMSStore.java:493)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
    at weblogic.jms.store.JDBCIOStream.throwIOException(JDBCIOStream.java:498)
    at weblogic.jms.store.JDBCIOStream.opendb(JDBCIOStream.java:2287)
    at weblogic.jms.store.JDBCIOStream.ping(JDBCIOStream.java:1286)
    at weblogic.jms.store.StoreRequest.doTheIO(StoreRequest.java:355)
    at weblogic.jms.store.JMSStore.execute(JMSStore.java:493)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
    at weblogic.jms.store.JDBCIOStream.throwIOException(JDBCIOStream.java:498)
    at weblogic.jms.store.JDBCIOStream.ping(JDBCIOStream.java:1318)
    at weblogic.jms.store.StoreRequest.doTheIO(StoreRequest.java:355)
    at weblogic.jms.store.JMSStore.execute(JMSStore.java:493)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)

  • Dynamic Queues using JMS Adapter - Possible?

    Can anyone advise if its possible to dynamically set the JMS Queue DestinationName at runtime when using the JMS Adapter?
    My guess is not, but I thought I'd ask anyway...
    Dennis

    Hi Dennis,
    Did u get a solution for this.
    Even i have a same scenario where i have to select the destination queue dynamically.
    Any help in this regards...
    Regards
    Ashwini

  • How to read Java Object message from JMS Queue using JMS Adapter .

    Dear All,
    In my scenario i have to read a java object message from JMS Queue . I tried by using the JMS Adaper ,but i am not getting any Payload . Can any one tell me is there any special settings for JMS Adapter to read the Java Object message .
    I am able to read the Message successfully thru JMS Adapter but in SXMB_MONI it is not showing any payload .
    I also went in Message monitoring but i am getting this type of message in Sender JMS Adapter  in Audit Log.
    JMS Message ID XXXXX Message Type Null unknown.Payload can not be read and will be empty.
    JMS Message ID XXXXX Payload Empty can not read.
    Please Help.
    Lateef

    Hi,
    As far as i know, JMS Object Messages is not supported by XI JMS adapter.
    you need to have the JMS provider to transform the message to bytes messages.
    (Refer to SAP note 856346)

  • How to Run a simple program using JMS Queue.!!

    Hi All,
    I am trying to run simple program on JMS Queue.
    Using SOA Suite 10.1.3.2
    I created a connection factory and queue using EM.
    Connection Factory => Domain : Queue JNDI Location : jms/sidConnectionFactory
    Queue Name : SidQueue JNDI Location : jms/SidQueue
    Tried running a simple java class to send the messages to queue.[Pls find the file attached].
    Getting this error
    javax.naming.NamingException: META-INF/application-client.xml not found (see J2EE spec, application-client chapter for requirements and format of the file)
    at oracle.j2ee.naming.ApplicationClientInitialContextFactory.getRequiredClasspathResource(ApplicationClientInitialContextFactory.java:239)
    at oracle.j2ee.naming.ApplicationClientInitialContextFactory.getArchive(ApplicationClientInitialContextFactory.java:161)
    at oracle.j2ee.naming.ApplicationClientInitialContextFactory.getInitialContext(ApplicationClientInitialContextFactory.java:111)
    at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
    Can some one tell me how i need to create this file and where to place this[i.e is this need to be placed in  my project or some directory structure of <SOA-HOME>
    Thx,
    Siddhardha.
    Code:
    package demo;
    import java.io.IOException;
    import java.io.PrintWriter;
    import java.util.Properties;
    import javax.jms.*;
    import javax.naming.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class JMSQueue {
        public static void main(String args[])
    QueueConnection queueConnection;
    QueueSession queueSession;
    //private MessageProducer producer;
    QueueSender queueSender;
    try {          
    String message = "Test";
    String connectionFactoryName = "jms/sidConnectionFactory";
    String destinationName = "jms/SidQueue";
    /*Do i need to use this .......
    * If so where is the error in below statements...
    * Properties env = new Properties( );
    // ... specify the JNDI properties specific to the vendor
    env.put(Context.SECURITY_PRINCIPAL, "admin");
    env.put(Context.SECURITY_CREDENTIALS, "welcome");
    env.put(Context.INITIAL_CONTEXT_FACTORY,
    "com.evermind.server.ApplicationClientInitialContextFactory");
    env.put(Context.PROVIDER_URL,
    "ormi://localhost:23791");
    Context ctx = new InitialContext();
    // Get the connection factory.
    QueueConnectionFactory cf = (QueueConnectionFactory)ctx.lookup(connectionFactoryName);
    // Get the destination.
    Queue destination = (Queue) ctx.lookup(destinationName);
    // Use the connection factory to create a connection.
    queueConnection = cf.createQueueConnection();
    // Start the connection.
    queueConnection.start();
    // Use the connection to create a session.
    queueSession = queueConnection.createQueueSession(false, Session.AUTO_ACKNOWLEDGE);
    // Use the session and destination to create a message producer and a message consumer.
    //producer = queueSession.createProducer(destination);
    queueSender = queueSession.createSender(destination);
    TextMessage msg = queueSession.createTextMessage(message);
    queueSender.send(msg);
    queueSession.close();
    queueConnection.close();
    catch (Exception ex) {
    ex.printStackTrace();
    * Attached following libraries to the Project
    * jms.jar
    * optic.jar
    * oc4jclient.jar
    */

    Hi,
    You need to change the INITIAL_CONTEXT_FACTORY to com.evermind.server.RMIInitialContextFactory.
    Regards,
    Sandeep

  • Newbie Question:  How much computer do I need?

    Newbie Question:
    I would like to use MainStage 3 in a live performance environment to play bars, parties, etc.  I'm not looping, using it to playback recordings, processing outboard equipment or vocal processing.  I want to stop carrying Rolands, Nords, Korgs, etc and get to a controller and a rack with a Mac Mini in it.
    I tested a download of Mainstage 3 on my home Mac Mini (late 2012, 3.5 Ghz i5, 4GB RAM, 500GB drive) and it seemed to run fairly well.  $30 well invested so I trekked forward... I purchased a Mac Mini (late 2009,  2.52GHz Core 2 Duo, 6GB RAM, 128GB SSD) for $200.  I started to do more elaborate keyboard setups to see how the CPU would hold up.  It typically runs from 30% to 50% of capacity (CPU and Memory)  It actually boots and runs better than the i5.  I hear the occasion gitch, but it actually seems to be getting better in time (or I'm rock and roll deaf.
    I got a rack, an Airport Express, a Radial USB interface and a Nektar Panorama P6.  It's starting to get expensive, but I'm emboldened by the actual quality for the sound and the flexibility of arranging for live performance.  What used to take me two and three keyboards to play, I can now fit on one performance patch.
    OK, now the question... am I at the limits of this little Core 2 Duo?  Should I upgrade the i5 with more RAM and a bigger SSD and use that?  Should I get a new(er) i7 and bite the $1,500 bullet for the additional RAM and SSD?
    I see that most of you are running pretty nice Macbook Pros with i7 and lots of everything.  My needs are modest; am I OK? 
    BTW, I want to run a Mac Mini in a box because I don't want to carry a laptop out in the open.  If I was doing bigger shows I wouldn't care but I play some rowdy bars and constantly have folks hanging off me while I'm playing.  It's fun, but hard on gear.  If you can't drop it or dip it in beer, it won't last long where I work.
    Matt Donnelly

    Rule of thumb: newer and faster is better. But, depending the complexity of your needs you may be OK with an older Mac. Some glitches that happen in a live performance are due to loss of communication with USB or Firewire inputs, so make sure they're secure. I recently upgraded from a 2010 Mac Mini 2.6 dual core with 16 GB RAM, which was used live for nearly four years, to the latest Mac Mini 3.0 i7 with 16 GB RAM and a 500 GB SSD. I was getting an occasional stuck note with the older one. The new one is rock solid. Some of my patches may have up to a dozen channel strips mapped to three keyboards. The Mini is mounted in a rack next to a MOTU Ultralite Hybrid. It is a good idea to map a panic button on your keyboard to controller # 123(all notes off). Also, you might want to invest in a battery backup power supply(APC, Cyberpower, etc.-$40-$60) to protect your Mac against power loss, which can damage you hard drive.

  • Oracle 8i and MQseries queues

    Is there any possibility to access MQSeries queues using 8i AQ packages routines? I have to read some data from MQS and insert it into Oracle on Win2k and wonder if I need any additional MQ interfaces.
    Best regards,
    Tomek.

    Hi Brajesh,
    Have you ever set up communication between Oracle 9i and MQSeries?
    Now I'm trying to read MQ messages using Oracle AQ and Messaging Gateway.
    When I'm starting MGW agent i get error message: 'bad native queue' in log file.
    Agent is still running and reachable.
    Is it possible that i need local MQ queue manager?
    Could you please help me with this?
    Regards,
    Tomek.

  • BPEL Interaction Pattern - Using JMS as the medium

    Objective : Make one MAIN Business Process out of BPEL that would receive the Message from Userinput or some other source and finally after doing all operations inside BPEL process (that would happen using BPEL Sub processes that exchange data using JMS send and receive inside the different queues ). Finally the MAIN Business Process would receive the response from BPEL sub process send it to Database at the end. We would like to develop a single BPEL process that would represent a Business Process say like Order Create and internally we would invoke various Sub BPEL process to work on the payload and give a handshake using JMS as the medium rather than another BPEL process makes a direct handshake to the invoking/calling process.
    Steps Attempted :
    a) BPEL Process receives the message from Input (User input of Purchase Order) and do some transformation later publish the message to Queue by configuring JMS Adapter to Produce it. Next step inside the same BPEL process tries to receive it using the JMS Adapter to consume it. It keeps waiting forever without consuming the message
    b) BPEL Process (A) receives the message from (User input of Purchase Order) and do some transformation later send the message to another BPEL Process (B) that would receive the input message. BPEL Process B writes into the Queue using JMS Adapter. In this case also BPEL Process (A) configured to receive the message from the QUEUE where the BPEL PRocess B has sent. BPEL Process A waits for the message to arrive for ever.
    Some behaviours we noticed ,
    1) Queue messages are being dequeued (JMX Browser in OEM shows no messages). But BPEL console shows the BPEL Process A is waiting for it to arrive. I believe it is consuming the message but unable to kickoff from receive (JMS activity) activity configured in the BPEL.
    2) We ensured that no other BPEL Process is consuming by creating a new Queue by name DemoQueue4 that would be used by the BPELProcess A and BPEL Process B.
    3) BPEL Process A and BPEL Process B are ASYNCHRONOUS Process. BPEL Process B receives the input and writes into the Queue does not call back to BPEL Process A. BPEL Process A would listen to the Queue to receive it inside the BPEL Process A.
    Am I trying something architecturally not possible ?
    Thanks
    Nags.
    Message was edited by:
    cdmnagaraj

    You can register any compliant JMS provider as a foreign jms provider in weblogic and then can access the JMS administered objects (destination and connection factory) from the local weblogic JNDI tree.
    This blog shows how to configure AQJMS as a foreign JMS provider and then configure JMS adapter to access the jms objects.
    http://biemond.blogspot.com/2009/07/using-aq-jms-text-message-in-wls-1031.html
    You can use the above link as a reference on how to setup. You will have to modify the Initial Context Factory, Provider URL, JNDI Properties, foregin connection factories and foreign detsinations section to suit activeMQ.
    Note: Weblogic does not come inbuild with the required jars to connect to ActiveMQ unlike AQJMS, so you need to ensure that the active mq jms client jars are available in the weblogic's classpath.

Maybe you are looking for

  • Calling XML Publisher report(RDF based) From OAF

    Hi All, I have requirement where i need to call one of the custom XML Publisher report from oaf by passing the parameters. and i dnt want this using concurrent program. I have an idea of calling xml publisher report which is Data Template based(XML).

  • Issue with DataAccessObject pattern

    I am using the patterns described in Core J2EE(TM) Patterns: DataAccessObject pattern ref : http://java.sun.com/blueprints/corej2eepatterns/Patterns/DataAccessObject.html Using a DAO and DAO Factory - Client Code DAOFactory cloudscapeFactory = DAOFac

  • Can I edit seeded workflow process

    I have created a new notification for PO approval notification. I want the PO approval workflow to use it. So, I tried to modify the seeded "Notify Approver Subprocess" to use my new notification. But, it is read only in workflow builder. Can I not m

  • How can I get Aperture 3.4 to support Sony NEX-5N RAW format photos?

    I've upgraded all software and my camera -- Sony NEX-5N -- is on the Aperture list for RAW format support, but it continues to show images shot in RAW as a black square with FORMAT NOT SUPPORTED! in the middle. Is there a setting I'm overlooking or w

  • Airport Express worn out?

    Is my AP Express worn out? I have a new cable modem and cable from the modem to the AE. I have to restart the AE 1 or 2 times a day. The AE is 8 or more years old and I have installed all updates. The person at the cable company seemed to think 8 yea