Post XML event to a JMS queue on another server

Hi All,
How do post an XML event to a JMS queue that is registered on another server
from the studio?.
This functionality supposed to be available in WLI 2.0 as an enhancement
from WLPI 1.2.1.
Any ideas?
- Jagdish

Jagdish
Sorry, I am on vacation and trying to have some time to myself. If the
Topic or Queue is on another server in a cluster then you use the JNDI name,
however, if it not available via JNDI then you need to write some code to
connect to the remote machine and do it that way.
Tony
"Jagdish" <[email protected]> wrote in message
news:[email protected]..
Hi Tony,
Can one of you guys reply to this please?
- Jagdish
"Jagdish" <[email protected]> wrote in message
news:3b6ac305$[email protected]..
Hi All,
How do post an XML event to a JMS queue that is registered on anotherserver
from the studio?.
This functionality supposed to be available in WLI 2.0 as an enhancement
from WLPI 1.2.1.
Any ideas?
- Jagdish

Similar Messages

  • Writing to JMS-queue of another container

    Hi,
    is it possible to enqueue/dequeue messages to a jms-queue in another OC4J on the same application server?
    I can specify the connection factory of OC4J-1 in a java bean, which lives in OC4J-2 but, the bean does not recognize this connection factory. If i specify a connection factory of OC4J-2 everything is fine...
    Are there some flags to specify the container?

    You can add host/port attributes to the connection factory definition in OC4J-2 -- make them point to the JMS server in OC4J-1.
    Note that the queue will need to be declared (with exactly the same name attribute value) on both OC4J-1 and OC4J-2.
    -Jeff

  • WLST: how to move messages from a JMS queue to another queue

    Hi all,
    I'm looking for an example for moving messages from a JMS queue to another JMS queue using WLST.
    Do you have an example about that or a piece of code as starting point ?
    Thanks in advance
    ferp

    http://www.javamonamour.org/2011/09/wlst-move-jms-messages.html

  • Creation of JMS queue in jboss server programmatically

    Hi Folks,
    How do we create a JMS queue in JBOSS server programmatically or dynamically?
    If anybody has a link or code that would be really helpful.
    Best Regards

    Hi,
    You can create a Queue programmatically. Once you've created a QueueSession, there is a method - QueueSession.createQueue( String name ). Just notice the JavaDoc:
    "This facility is provided for the rare cases where clients need to dynamically manipulate queue identity. It allows the creation of a queue identity with a provider-specific name. Clients that depend on this ability are not portable.
    Note that this method is not for creating the physical queue. The physical creation of queues is an administrative task and is not to be initiated by the JMS API. The one exception is the creation of temporary queues, which is accomplished with the createTemporaryQueue method."
    I hope this helps?
    Regards,
    J.

  • How to configure JMS queue on OC4J server. Development in JDeveloper 10G

    Hi there,
    I have to configure a JMS for an Asynchronous process in my Application which will be running in Oracle 10G Application Server. Development Environment is Oracle JDeveloper 10G.
    I am facing a problem on how to configure JMS queue.
    Steps Followed are:
    in the <JDevloperHome>/j2ee/home/config
    1. Made the new queue and connection factory's JMS entry in jms.xml.
    2. Specifed the queue in oc4j-connectors.xml.
    3. played around with application.xml
    and tried all combinations, but the message producer always failed to lookup the queue.
    Need help on the steps to follow so that the producer can post the message in the queue.
    Also please help how to configure the MDB to listen to the queue.
    Thanx and Regards
    Subham

    If you were dealing with Oracle 10g app server as opposed to standalone, I might be better able to help you.
    One thing though, when you are configuring your MDB in the orion-ejb-jar.xml file, do not forget to specify attribute listener-threads, otherwise no matter how many beans you have in your MDB pool, only one bean will be listening to the queue. Many listener-threads equal to max number of beans in pool.

  • VS2008 : post build event - to copy to device's FTP server

    Hi,
    My CE device had built-in FTP server.
    I wish to use post build event to copy the debug content to the FTP server on the CE device.
    i was able to copy the files to local temp file using: xcopy "$(TargetDir)*.*" "c:\temp" /E /Y /C
    my question-
    is there any way coping the files directly to the FTP ?
    thanks, 
    Moti
    מוטי ג.

    hi,
    i used that command:
    xcopy "$(TargetDir)*.*" "ftp://192.168.100.2" /E /Y /C
    and i got that error:
    Error 1
    The command "xcopy "C:\temp\HMI CE\HMI CE\bin\Debug\*.*" "ftp://192.168.100.2" /E /Y /C" exited with code 4.
    HMI CE
    i have the feeling i'm declaring the target in a wrong way, but don't know how to set it correctly.
    Moti.
    מוטי ג.

  • JMS Queue in Weblogic Server

    Hi,
    We have created a Connection Factory and a JMS queue in the Weblogic Server and configured it for "Unit of Order" delivery mechanism.
    We have done the restart for the changes done. But the restart is not successful and it is throwing "NULL poniter Exception".
    Kindly provide any suggestion for this issue.
    Thanks,
    Arun

    You can enable the below debug flags.
    -DebugJMSBackEnd
    -DebugJMSMessagePath
    http://weblogic-wonders.com/weblogic/2010/11/18/weblogic-server-debug-flags/
    Refer the below link for a working sample of Unit Of Order feature.
    http://weblogic-wonders.com/weblogic/2011/03/11/unit-of-order-with-distributed-destinations/
    Regards,
    Anandraj
    http://weblogic-wonders.com

  • How can I put non-English characters onto JMS queues?

    Hi
    I am posting XML documents onto a JMS queue configured in a WLS domain. The XML doc is UTF-8 but WebLogic does not seem able to handle the advanced characters and shows them as 2 chars each (such as umlauts). How can I configure WebLogic to handle such special characters?
    Any help greatly appreciated,
    Craig

    In order to send an XML message we need to use Interface XMLMessage and send the message by setDocument(Document document) .
    In the document set the content of the message to the DOM document. If we follow this procedure I guess there should not be any issue.
    Regards,
    hy

  • Exception in the XML consuming from JMS Queue

    In the CEP application we have a business flow like we want to consume an xml message from the JMS queue.
    While CEP is consuming the message sometimes we are getting an exception.
    But this issue occurs rarely and we have no idea about the root cause.
    I am attaching the trace of this exception.
    It seems this exception is from weblogic server itself.
    Also this could be an interface problem, since its showing a casting error.
    The Bug description:
    When we send a meter event through SOAP UI in the CEP visualizer when the event is consumed CEP also shows this exception.
    This may not halt the analysis process of the event, but this unwanted piece of code/lines have to be avoided.
    <OutageEvent xmlns:ns1="http://www.accenture.com/INDE"; xmlns:wsa="http://www.w3.org/2005/08/addressing"; xmlns="http://www.accenture.com/INDE"><meterId xmlns="">203</meterId><outageType xmlns="">Permanent Outage</outageType><premiseId xmlns="">1111</premiseId><timeEvent xmlns="">2010-07-30T</timeEvent><heName xmlns="">SAMPLEHE</heName></OutageEvent>
    <Jul 30, 2010 11:01:50 AM IST> <Error> <JMSAdapter> <BEA-2041118> <Setup for JMS task for destination JMS_OI_MeterState_MeterEvent_Queue at provider t3://10.212.182.30:8002 failed with exception: weblogic.jms.common.JMSException: [JMSClientExceptions:055039]A system error has occurred. The error is java.lang.ClassCastException: weblogic.workarea.StringWorkContext
    weblogic.jms.common.JMSException: [JMSClientExceptions:055039]A system error has occurred. The error is java.lang.ClassCastException: weblogic.workarea.StringWorkContext
    at weblogic.jms.client.JMSSession.handleException(JMSSession.java:3121)
    at weblogic.jms.client.JMSConsumer.receiveInternal(JMSConsumer.java:650)
    at weblogic.jms.client.JMSConsumer.receive(JMSConsumer.java:526)
    at weblogic.jms.client.WLConsumerImpl.receive(WLConsumerImpl.java:184)
    at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.receiveMessage(AbstractPollingMessageListenerContainer.java:405)
    at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.doReceiveAndExecute(AbstractPollingMessageListenerContainer.java:308)
    at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.receiveAndExecute(AbstractPollingMessageListenerContainer.java:261)
    at com.bea.core.asyncbeans.internal.DefaultMessageListenerContainer.receiveAndExecute(DefaultMessageListenerContainer.java:59)
    at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.invokeListener(DefaultMessageListenerContainer.java:982)
    at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.executeOngoingLoop(DefaultMessageListenerContainer.java:974)
    at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run(DefaultMessageListenerContainer.java:876)
    at com.bea.core.asyncbeans.internal.WorkManagerTaskExecutor$1.run(WorkManagerTaskExecutor.java:38)
    at weblogic.work.commonj.CommonjWorkManagerImpl$WorkWithListener.run(CommonjWorkManagerImpl.java:196)
    at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused By: java.lang.ClassCastException: weblogic.workarea.StringWorkContext
    at weblogic.rjvm.MsgAbbrevInputStream.readContext(MsgAbbrevInputStream.java:243)
    at weblogic.workarea.spi.WorkContextEntryImpl.<init>(WorkContextEntryImpl.java:47)
    at weblogic.workarea.spi.WorkContextEntryImpl.readEntry(WorkContextEntryImpl.java:97)
    at weblogic.workarea.WorkContextLocalMap.receiveRequest(WorkContextLocalMap.java:151)
    at weblogic.jms.common.JMSWorkContextHelper.readWorkContext(JMSWorkContextHelper.java:89)
    at weblogic.jms.common.MessageImpl.readExternal(MessageImpl.java:2275)
    at weblogic.jms.common.TextMessageImpl.readExternal(TextMessageImpl.java:354)
    at weblogic.jms.common.JMSConsumerReceiveResponse.readExternal(JMSConsumerReceiveResponse.java:133)
    at weblogic.messaging.dispatcher.DispatcherObjectHandler.readResponse(DispatcherObjectHandler.java:154)
    at weblogic.messaging.dispatcher.DispatcherProxy.unmarshalResponse(DispatcherProxy.java:269)
    at weblogic.messaging.dispatcher.DispatcherProxy.dispatchSyncTranFuture(DispatcherProxy.java:134)
    at weblogic.messaging.dispatcher.DispatcherWrapperState.dispatchSyncTran(DispatcherWrapperState.java:338)
    at weblogic.messaging.dispatcher.DispatcherWrapperState.dispatchSyncNoTran(DispatcherWrapperState.java:386)
    at weblogic.jms.dispatcher.DispatcherAdapter.dispatchSyncNoTran(DispatcherAdapter.java:59)
    at weblogic.jms.client.JMSSession.receiveMessage(JMSSession.java:886)
    at weblogic.jms.client.JMSConsumer.receiveInternal(JMSConsumer.java:647)
    at weblogic.jms.client.JMSConsumer.receive(JMSConsumer.java:526)
    at weblogic.jms.client.WLConsumerImpl.receive(WLConsumerImpl.java:184)
    at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.receiveMessage(AbstractPollingMessageListenerContainer.java:405)
    at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.doReceiveAndExecute(AbstractPollingMessageListenerContainer.java:308)
    at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.receiveAndExecute(AbstractPollingMessageListenerContainer.java:261)
    at com.bea.core.asyncbeans.internal.DefaultMessageListenerContainer.receiveAndExecute(DefaultMessageListenerContainer.java:59)
    at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.invokeListener(DefaultMessageListenerContainer.java:982)
    at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.executeOngoingLoop(DefaultMessageListenerContainer.java:974)
    at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run(DefaultMessageListenerContainer.java:876)
    at com.bea.core.asyncbeans.internal.WorkManagerTaskExecutor$1.run(WorkManagerTaskExecutor.java:38)
    at weblogic.work.commonj.CommonjWorkManagerImpl$WorkWithListener.run(CommonjWorkManagerImpl.java:196)
    at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    >
    11:01:50,548 INFO MeterInputConverter : 81 - Accepted the input xml :<?xml version="1.0" encoding="UTF-8" ?><MeterEvent xmlns:inde="http://www.accenture.com/INDE"; xmlns:wsa="http://www.w3.org/2005/08/addressing"; xmlns="http://www.accenture.com/INDE">;
    <meterId xmlns="">103</meterId>
    <outageType xmlns="">RESUME</outageType>
    <premiseId xmlns="">1111</premiseId>
    <timeEvent xmlns="">2010-07-30T</timeEvent>
    <lastGasp xmlns="">false</lastGasp>
    <heName xmlns="">CURRENT</heName>
    </MeterEvent>

    Hi,
    I will forward this to the weblogic JMS team, to see if they have any insight for us.
    Regards,
    Seth

  • Creating XML string to be pushed into a JMS queue

    Hello All
    I am trying to pass the following XML string into a sender obj, however, I am not sure how it is supposed to be done, with the right escape sequencing.
    message.setText("<rawData><Name="Mike"></Name><Value="200"></rawData>");
    Please guide me.
    Thanks,
    AJ

    Login User should have the Admin privilege, Otherwise it is not possible to post data manually into the JMS Queue.
    Log into weblogic Console > click on JMS Module > <select the JMSModule where the Queue resides : e.g SOAJMSModule> >Select the Queue > Monitoring > Check the Box > click on "Show Message" > New > Post the data in "Body" section.
    Or, you can create another BS in OSB, pointing to that JMS Queue(using Input.xsd) . then execute the BS using your Input.xml

  • Howt to Send XML file to JMS Queue instead of text string.

    HI,
    I am doing a project on JbossSeam.
    I am using JMS. I am sending/adding plain text to the JMS queue
    and geting it back from the JMS queue as
    I wanted to send/add an xml file to the JMS queue and wanted to recieve the same xml file from the JMS Queue .

    Never mind... I see you cross-posted this question all over the place. Maybe it will get answered somewhere else.

  • Posting a message to JMS queue using B2B

    Hi,
    Could anyone suggest a solution for this scenario?
    I have two trading partners say TP1 & TP2. Suppose TP1 is sending an xml message to TP2 using custom ebMS protocol, then at TP2, the message should be posted to a JMS Queue so that some other application can read it and process it.
    The problem which I am facing is..
    1) where to create that JMS Queue(I could not find any options for creating a JMS Queue neither in B2B console nor in enterprise manager console..!!)?
    2) how to register TP2 to send msg to that JMS Queue(How that queue will be vissible to B2B)?
    3) Should the endpoint be given as that JMS Queue while configuring the Delivery Channel for TP2?
    Thanx in advance for your suggestions,
    Regards,
    Satya.

    Hi Narayanan,
    Thank you for your prompt reply. I understand that we need to create an external delivery channel to post the message to a JMS Queue from TP2. Currently I am using default AQ's (b2b.IP_IN_QUEUE & b2b.IP_OUT_QUEUE) at TP2 end to receive the message.
    But, I want to post the message to JMS Queue. For this I need to create an external delivery channel and the corresponding end point should be the name of that JMS Queue. Is my assumption correct?
    I have already gone through the thread that you have mentioned and the pdf as well. But, I am not able to find an option on how & where to create that JMS Queue?
    Could you clarify on this?
    Regards,
    Satya.

  • Setting JMS CorrelationID before posting to JMS queue

    Hi, my senario is that before posting a message to the JMS queue I want to set its correlation ID so that while fetching the response message gets tracked using the correlation ID that I have set not the one that is defaulted...can it be done in OSB if yes can you tell how and at what stage.
    Regards
    RAHUL

    Route to [ JMSBS ]
    Request Actions:
    Set Transport Headers for[ Outbound Request ]
    Pass all Headers through Pipeline
    Transport Headers
    Name Action
    JMSCorrelationID Set Header to [ '44444444444' ]This works for me. When I see the message on JMS queue, in the "Correlation ID" field, it holds value 44444444444
    Can you cross-check it again at your side?
    Regards,
    Anuj
    Edited by: Anuj Dwivedi on Jan 6, 2011 6:07 PM

  • How to get the XML messages from JMS Queue in BPM

    I have one requirement in my application.we are sending XML messages to the JMS Queue.How to get the XML messages from JMS Queue and how to Extract the details from XMl.
    can you please send me the code to get the XML messages from the JMS Queue.
    Thank you,

    Hi,
    Sure others will have some other ideas, but here's what I typically do to get the XML from a JMS queue. Inside the Global Automatic that pops the messages off the queue you'd have logic similar to this:
    artifactInfoNodes as Any[]
    xmlObject as Fuego.Xml.XMLObject = XMLObject()
    load xmlObject using xmlText = message.textValue
    . . . Once you have this, it's a matter of deciding what you want to do with the message. Most times you'll parse the XML (using XPATH statemens), set argument variables and create a work item instance.
    Hope this helps,
    Dan

  • Posting message to JMS queue from Proxy in OSB 10.3

    I am posting a message to a JMS queue using a business service. Is there a way of getting a response from the business service to retrieve the newly generated JMSMessageID?

    I am posting a message to a JMS queue using a business service. Is there a way of getting a response from the business service to retrieve the newly generated JMSMessageID?Yes JMS BS can be configured to get Response though from Different Q.
    Request-JMSBS----->JMS Request Q------your logic outside of BS----->JMS Response Q----->JMSBS-Response. You can use JMSCorrelationID or JMSMessageID for the response correlation.
    http://download.oracle.com/docs/cd/E13159_01/osb/docs10gr3/interopjms/transport.html#wp1097863
    Cheers
    Manoj

Maybe you are looking for

  • Can I connect an eSATA card or FireWire 800 to my 2008 MacBook?

    I have a late 2008 12" MacBook with a FireWire 400 slot (only).  I am hooking up an 8TB Raid hard drive to it for digitizing, backup and editing on FCP 6 and would like to have a higher speed available than the laptop's FireWire 400 provides.  Is the

  • OBIEE 11g: Blocking Analysis

    I was working on setting up Blocking Analysis, I read up on this in the Oracle documentation at... http://docs.oracle.com/cd/E21764_01/bi.1111/e10541/answersconfigset.htm I originally setup a javascript file and a CustomMessages folder for the XML, r

  • Can create vlan group on eth0 after OVM Server installation?

    Hi, I have installed OVM server to use eth0 without vlan segment for ovm manager to manage OVM server. Now if I want to use eth0 for virtual machine management purpose as well, can I edit this network, create vlan group on eth0, one for server manage

  • My number 1 on keyboard is not working ...

     I have G480 laptop please help i cannot also do shift + a to make it uppercase what should i do please help me with this problem thank you so much in advance

  • Firmware re-loaded.. still not working! should i just switch to ipod or wh

    this thing is gettign thrown out the window soon. after having numerous and frustrating problems.. my zen will take charge (about bloody time!) i can get to recovery mode and i managed to re load the firmware.. ? but ? organiser still doesnt recognis