Send Synchronous message from Oracle to BPM to CRM in RWB
Hi All,
I have a scenario like this Oracle Sender (synchronous interface)-> calling ccBPM -> CRM which is a synchronous process.
Oracle sends an external message to CRM and get the response back. This is achieved using ccBPM due to some internal calls from ccBPM to MDM also sycnhronously.
So there are three receive determination created
Oracle to ccBPM
ccBPM to MDM
ccBPM to CRM
Now, the question is I have some message to be send from RWB for testing whether this process works properly or not in staging system. How do I send the message in RWB for this kind of process. This is a syynchronous process
And sender should be oracle system, receiver shuld be what? ccBPM or CRM from RWB perspective.
Hope you all got the question.
Thanks
Mike
Hi,
How do I send the message in RWB for this kind of process. This is a syynchronous process
And sender should be oracle system, receiver shuld be what? ccBPM or CRM from RWB perspective.
You need to mentioned Oracle as sender & receiver would be BPM.
BTW, why do you put a receiver name, you should only supply Sender parameters (Sender Name, Interface & Namespace), Let PI , determine the receiver which is true testing.
Regards
Sushil
Similar Messages
-
How to send JMS message from oracle to weblogic
Hello,
I am facing with a problem of sending jms message from oracle to weblogic. I am using oracle 10g and weblogic server 9.1. Here is the problem. I would like to create a trigger to send JMS message to weblogic server whenever there is an update in oracle database. So I created a java class that will send a jms message to weblogic server. But in that class I use the jndi from weblogic: weblogic.jndi.WLInitialContextFactory
when I use the loadjava utility to load that class into oracle, the status of that class is invalid though this class is working fine in eclipse with the weblogic.jar included. I was thinking because the jndi from weblogic needs the weblogic.jar in order to work, then I loaded that jar file into oracle (it took about 20 minute to load everything) and everything loaded into oracle from that jar file is invalid and missing some reference.
So my question is: how do I send a jms message from oracle to weblogic using a java class with the right jndi?
Any help will be appreciated.
Thanks
TLIt should be quite straightforward to do this. As stated you need weblogic.jar in your classpath, then use 100% standard JMS calls to publish.
Ensure that you set the following properties before getting your initial context:
java.naming.factory.initial=weblogic.jndi.WLInitialContextFactory
java.naming.provider.url=t3://node:7001 (or whatever)
this will ensure that the correct JMS implementation classes are invoked.
You can't easily (without some mucking around) build a test implementation in an AQ environment and then deploy to WebLogic because in AQ you don't tend to use JNDI lookups (unless you've implemented oracle JNDI etc) but rather use non standard factory class to create connections etc. -
Send JMS message from Oracle to Weblogic topic.. How?
Hi,
I need to send messages from within Oracle Database to a topic in Weblogic. I understand that I can create a trigger that executes
a Java Stored Procedure. This trigger can be invoked upon row
addition/update or delete .
The java stored procedure itself can be be a client program that does a jndi lookup, has code to communicate with the topic on a remote Weblogic server. I can write and test this program independently using Oracle supplied jar files (jndi.jar, jar files that have jms api's etc.) then load it into the database and it should work.
Am I missing something. Is there any complication with jndi lookup, initial context, etc. The Oracle 9i and Weblogic reside on different servers.
Has anyone done this? Is there a better way of sending messages?
Should I bother with messaging gateways?
Thank You for your reply.
Samir SahuIt should be quite straightforward to do this. As stated you need weblogic.jar in your classpath, then use 100% standard JMS calls to publish.
Ensure that you set the following properties before getting your initial context:
java.naming.factory.initial=weblogic.jndi.WLInitialContextFactory
java.naming.provider.url=t3://node:7001 (or whatever)
this will ensure that the correct JMS implementation classes are invoked.
You can't easily (without some mucking around) build a test implementation in an AQ environment and then deploy to WebLogic because in AQ you don't tend to use JNDI lookups (unless you've implemented oracle JNDI etc) but rather use non standard factory class to create connections etc. -
Send JMS messages from Oracle Procedure
Hi
I need to write an Oracle procedure that would send a JMS message. So please share your thoughts on how this can be done in Oracle.
thank yousdk11 wrote:
Hi
I need to write an Oracle procedure that would send a JMS message. So please share your thoughts on how this can be done in Oracle.
thank youhttp://www.lmgtfy.com/?q=Oracle+procedure+that+would+send+a+JMS+message
Handle: sdk11
Status Level: Newbie
Registered: Jan 13, 2010
Total Posts: 56
Total Questions: 30 (27 unresolved)
why so many unanswered questions?
Edited by: sb92075 on Jan 12, 2012 8:44 AM -
Soap messages from Oracle 9.2
I want to send soap messages from Oracle 9.2 Database. Our requirement would involve sending multiple rows of data. Is this feasible?
Dont know much about "soap messages" but if it is a part of your database and you want to send them to some other database then you can use oracle streams for that. Streams will give you best control to transfer "multiple rows" from one server to another.
Daljit Singh -
How to send JMS Message from a BPM Process
Hi All
I have small query regarding sending JMS Message from a bpm process. Is it possible to send JMS message from one bpm process to another bpm process.
I have a scenario in which I need to send a JMS message to a queue where another process is listening on that queue and as soon as the message is received on the queue the process instance is created.
I know how to listen for the JMS message on the queue, but I don't how to send a JMS message from a process.
Also Can I create process by sending the Notification to the process instead of a JMS message. But the process to be created is not a subprocess i.e. Can notification be send accross different processes.
Any information or example in this regard would be helpful.
Thanks in advance
Edited by: user9945154 on Apr 22, 2009 7:46 PMHi,
Here's one approach to sending JMS messages from an Oracle BPM process. If you're doing this just to send a message into another process, do not take this approach. It's far easier and quicker if you do this using the OOTB "send notification" logic.
These steps describe how to do this using WebLogic. The steps would be different if you're using another ap server / JMS provider.
1. Guessing you've already done this, but first expose the two required WebLogic jar files for JMS messaging as Java components in the External Resources. The two files for WebLogic are weblogic.jar and wljmsclient.jar” (located in the < WebLogic home directory > /weblogic/server/lib” directory).
AquaLogic BPM JMS Queue Listener for WebLogic 8.1
2. You've probably already done this, but add an External Resource to represent the J2EE container:
• Name: “weblogicJ2EE” - this is important and will be used in the next step
• Supported Type: “GENERIC_J2EE”
• Initial Context Factory: “weblogic.jndi.WLInitialContextFactory”
• URL: “t3://localhost:7001”
• Principal: and Credentials: whatever userid and password you defined to access theWebLogic administrative console.
3. Create the External Resource that represents the send queue configuration. In this example, I'm calling it “WebLogic Send Queue”. This is important - remember what you named it because you will use this name in the logic that sends the JMS message. This new External Resource is configured as:
• J2EE: “weblogicJ2EE” (same name as the second External Resource you created)
• Destination Type: “QUEUE”
• Lookup Name: “weblogic.examples.jms.exampleQueue”
• Connection Factory Lookup Name: “weblogic.examples.jms.QueueConnectionFactory”
4. Here's the logic to send a Message to the Queue
<pre class="jive-pre"><p />msg as String = "Hello World"
jmsMsg as Fuego.Msg.JmsMessage
msg = "<?xml version=\"1.0\"?><Msg>" + msg + "</Msg></xml>"
jmsMsg = JmsMessage(type : JmsMessageType.TEXT)
jmsMsg.textValue = msg
sendMessage DynamicJMS
using configuration = "WebLogic Send Queue",
message = jmsMsg</pre>
Note that the “sendMessage” method uses the configuration parameter “WebLogic Send Queue”. You previously created a JMS messaging service External Resource with this name in the third step.
Again, please don't go this route if you're just using it to send notifications between processes,
Dan -
Help sending out long email message from ORACLE PL/SQL
Hello,
I need help sending out long email message from ORACLE PL/SQL.
My message(email body) contains about 4000 characters and comes out truncated somewhere on the middle.
My business requirements do not allow me to send it as attachment.
I am using oracle utl_smtp package and on oracle 10gR2.
Is it possible to send out long text message from Oracle?
Thanks!
IaThank you very much for your responses.
Even if I use email procedure below my message is getting truncated.
Here is how I am trying to execute the procedure from sql plus:
DECLARE
P_SENDER VARCHAR2(32767);
P_RECIPIENT VARCHAR2(32767);
P_SUBJECT VARCHAR2(32767);
P_BODY VARCHAR2(32767);
BEGIN
P_SENDER := 'xxxx@yyy';
P_RECIPIENT := 'xxxx@yyy';
P_SUBJECT := 'long text message';
P_BODY :=
'1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
7 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
8 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
9 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
10 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
11 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
12 34567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
21 123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789';
EMAIL ( P_SENDER, P_RECIPIENT, P_SUBJECT, P_BODY );
COMMIT;
END;
SQL> @long_sp;
PL/SQL procedure successfully completed.
The email message is:
long text message
xxx@yyyy
Sent: Tuesday, May 25, 2010 6:52 AM
To:
xxx@yyyy
1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 7 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 8 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 9 12345678901234567890123456789012345678901234567890123456789012345678901234
Message is getting truncated around 1000 characters.
What am I doing wrong?
Please help!
Thanks!! -
Sending message from oracle to middleware through oracle messaging gateway
Hi,
I am very new to oracle AQ and oracle messaging gateway. I am actually trying to propagate a message from oracle to middleware through oracle messaging gateway.
I have created the link between oracle messaging gateway and middleware(IBM Websphere).
1.*Created an object type with a single attribute of type sys.xmltype*.
create or replace type xpctas_type as object(payload sys.xmltype);
2.*Created a qtable with payload type as xpctas_type, a queue and started the queue.*begin
dbms_aqadm.create_queue_table(
queue_table => 'xpctas_qtab',
queue_payload_type => 'xpctas_type',
multiple_consumers => TRUE
dbms_aqadm.create_queue(queue_name =>'xpctas_q',
queue_table => 'xpctas_qtab',
max_retries => 16);
dbms_aqadm.start_queue('xpctas_q');
end;
3.*Created a transformation that converts user defined type xpctas_type to messaging gateway canonical type sys.MGW_BASIC_MSG_T.*
For this I created a function that converts xpctas_type to messaging gateway canonical type sys.MGW_BASIC_MSG_T.
CREATE OR REPLACE FUNCTION APPS.order_2_basic(my_order in xpctas_type)
RETURN sys.mgw_basic_msg_t
IS
v_xml XMLTYPE;
v_text varchar2(4000);
v_clob CLOB;
v_basic sys.mgw_basic_msg_t;
text_body sys.mgw_text_value_t;
header sys.mgw_name_value_array_t;
BEGIN
v_xml := XMLTYPE.createXML(my_order,NULL,NULL);
v_basic := sys.mgw_basic_msg_t.construct;
header := sys.mgw_name_value_array_t(sys.mgw_name_value_t.construct_integer('MGW_MQ_characterSet','1208'),
sys.mgw_name_value_t.construct_integer('MGW_MQ_priority', '7'));
IF(LENGTH(v_xml.getstringval())>0 AND LENGTH(v_xml.getstringval())<=4000) THEN
v_text := v_xml.getStringVal();
text_body := sys.mgw_text_value_t(v_text,NULL);
ELSE
dbms_lob.createtemporary(v_clob,TRUE,dbms_lob.session);
v_clob:=v_xml.getClobVal();
text_body := sys.mgw_text_value_t(NULL,v_clob);
dbms_lob.freetemporary(v_clob);
END IF;
v_basic:=sys.mgw_basic_msg_t(header,text_body,NULL);
RETURN v_basic;
END order_2_basic;
begin
dbms_transform.create_transformation(
schema => 'apps',
name => 'order_to_basic',
from_schema => 'apps',
from_type => 'xpctas_type',
to_schema => 'sys',
to_type => 'mgw_basic_msg_t',
transformation => 'Apps.order_2_basic(source.user_data)');
end;
4. Registered a foreign queue.
declare
v_options sys.mgw_properties;
gv_mq_queue_name VARCHAR2(32);
begin
gv_mq_queue_name := 'MB.O2C.SOFTWARESOLUTION';
v_options := sys.mgw_properties(
sys.mgw_property('MQ_openOptions', '2066') );
dbms_mgwadm.register_foreign_queue(
name => 'destq', -- MGW foreign queue name
linkname => 'mqlink', -- name of link to use
provider_queue => RTRIM(gv_mq_queue_name), -- name of MQSeries queue
domain => dbms_mgwadm.DOMAIN_QUEUE, -- single consumer queue
options => v_options );
end;
5. Added a subscriber with transformation.
begin
dbms_mgwadm.add_subscriber(
subscriber_id => 'sub_aq2mq', -- MGW subscriber name
propagation_type => dbms_mgwadm.outbound_propagation,
queue_name => 'apps.xpctas_q',
destination => 'destq@mqlink',
transformation => 'apps.order_to_basic');
end;
6. Added a scheduler
begin
dbms_mgwadm.schedule_propagation(
-- schedule name
schedule_id => 'sch_aq2mq',
-- outbound propagation
propagation_type => dbms_mgwadm.outbound_propagation,
-- AQ queue name
source =>'apps.xpctas_q',
-- MGW foreign queue with link
destination =>'destq@mqlink');
-- The remaining fields currently not used by MGW
end;
7. Enqueued a user defined data type into the qtable.
declare
l_xmlstring varchar2(2000);
l_payload sys.xmltype;
my_order xpctas_type;
enqueue_options DBMS_AQ.enqueue_options_t;
message_properties DBMS_AQ.message_properties_t;
msgid RAW( 16 );
v_num Number;
begin
SELECT '<?xml version="1.0" encoding="UTF-8" ?>
<Q1:XXRFG_PRCS_CNCT_TO_ASSETS_STG xmlns:Q1="http://www.ibm.com/websphere/crossworlds/2002/BOSchema/XXRFG_PRCS_CNCT_TO_ASSETS_STG" version="3.0.0" verb="Create" locale="en_US.UTF-8" delta="false">
<Q1:STAGING_ID>221</Q1:STAGING_ID>
<Q1:SW_INSTANCE_ID>18595755</Q1:SW_INSTANCE_ID>
<Q1:MC_INSTANCE_ID>194734</Q1:MC_INSTANCE_ID>
<Q1:OPCO>NUK</Q1:OPCO>
<Q1:RELATIONSHIP_FLAG>N</Q1:RELATIONSHIP_FLAG>
<Q1:RELATIONSHIP_TYPE>Connected To</Q1:RELATIONSHIP_TYPE>
<Q1:ObjectEventId />
</Q1:XXRFG_PRCS_CNCT_TO_ASSETS_STG>'
INTO l_xmlstring
FROM dual;
SELECT XMLTYPE(l_xmlstring)
INTO l_payload
FROM dual;
my_order:=xpctas_type(l_payload);
dbms_output.put_line(my_order.payload.getstringval());
DBMS_AQ.enqueue( queue_name => 'APPS.xpctas_q',
enqueue_options => enqueue_options,
message_properties => message_properties,
payload => my_order,
msgid => msgid
COMMIT;
END;
As soon as I enqueued the message the subscriber picked the message and sent it to middleware. I found the below message in the middleware
MD ÿÿÿÿ ¸ MQSTR AMQ HBU473QC61 PTÀ+H^ HBU473QC61 mqm 2012112109335869 ÿÿÿÿ
*<XPCTAS_TYPE><PAYLOAD><Q1:XXRFG_PRCS_CNCT_TO_ASSETS_STG xmlns:Q1="http://www.ibm.com/websphere/crossworlds/2002/BOSchema/XXRFG_PRCS_CNCT_TO_ASSETS_STG" version="3.0.0" verb="Create" locale="en_US.UTF-8" delta="false">*
*<Q1:STAGING_ID>221</Q1:STAGING_ID>*
*<Q1:SW_INSTANCE_ID>18595755</Q1:SW_INSTANCE_ID>*
*<Q1:MC_INSTANCE_ID>194734</Q1:MC_INSTANCE_ID>*
*<Q1:OPCO>NUK</Q1:OPCO>*
*<Q1:RELATIONSHIP_FLAG>N</Q1:RELATIONSHIP_FLAG>*
*<Q1:RELATIONSHIP_TYPE>Connected To</Q1:RELATIONSHIP_TYPE>*
*<Q1:ObjectEventId/>*
*</Q1:XXRFG_PRCS_CNCT_TO_ASSETS_STG>*
*</PAYLOAD></XPCTAS_TYPE>*
It has some junk data in the begining. How can I remove this junk data?? Any help provided on this would be of great help.
Experts on oracle mesaging gateway and AQ, Please help.
Thanks & Regards,
SachinHello,
your setup of the message gateway seems to be ok.
Did you check the corresponding versions of the client libraries (*.jar) ? These are the libraries on
db server side (e.g. aqapi.jar, based on your CLASSPATH entries in file "mgw.ora") and for the IBM MQ jars.
Kind regards,
WoG -
How can I send a message from database to a J2EE application?
How can I send a message from database to a J2EE application?
If I have a codetable in database that has new or modified values I have to refresh the codetable in my J2EE application.
Most effective way would be send a message to initiate a table reload from J2EE app, but I don't know how to do this.
Now I have a background thread that regular reads the table and looks for changes.http://www.oracle.com/technology/products/integration/bam/10.1.3/TechNotes/TechNote_BAM_AQ_Configuration.pdf
This document details how to create triggers on a table that send out JMS messages.
In this example, the messages are going to Oracle BAM.. your message could go to your J2EE application listening to its own topic/queue.
an alternative idea.
you could also just cache your lookup table with something like Oracle Coherence and than try to ensure that all changes to the lookup go through Coherence, so that you won't need to do notification from the db up to the application. the application and the lookup data management tool would be using the data grid for management of the lookup table data, and the data grid (coherence) would persist the lookup data changes back to the db. -
How to send SOAP Message with Oracle B2B
Hi everyone,
I need your help to send out from Oracle B2B a SOAP message with attachment of any type of file (image, pdf, etc.). Possibly using a SOA composite application or another way, it doesn't matter. I already create an ebMS partnership with a custom document protocol and I already create a working SOA composite application to send only text message to my trading partner. I have tried this solution: http://anuj-dwivedi.blogspot.it/2011/04/ebms-attachment-handling-in-oracle-b2b.html but it doesn't work for my case... It is to be noticed that I don't give any schema to my component in the SOA application explained firstly, and I select opaque as schema.
Thanks to all, regards
NelloHi Anuj and thanks for your help,
I need to send an ebXML message, with SOAP, and I try to send it with a .war application written in jsp connecting to http://10.85.28.24:8001/b2b/transportServlet to send the SOAP message. The errors reported is:
javax.xml.soap.SOAPException: Unable to receive message. Received a response from url: http://10.85.28.24:8001/b2b/transportServlet with HTTP status 200 and SOAP content-type: null.
the code I write is the following (to evaluate the two "null" in the super constructor)
<%!
public class EBMSSender extends SOAPRunner
private String cpaId;
private String service;
private String action;
private String mess;
private ArrayList<String> allegati=null;
public EBMSSender(String cpaId, String service, String action, String mess, ArrayList<String> file)
super("http://10.85.28.24:8001/b2b/transportServlet","null", "null");
this.cpaId = cpaId;
this.service = service;
this.action = action;
this.mess=mess;
this.allegati=file;
@Override
protected void prepareRequest(SOAPMessage soapMessage, SOAPBody soapBody) throws SOAPException
soapBody.addChildElement(SOAPUtility.createElement("CPAId", getNsPrefix(), getNsURI(),"agr3"));
soapBody.addChildElement(SOAPUtility.createElement("service", getNsPrefix(), getNsURI(),"OracleService"));
soapBody.addChildElement(SOAPUtility.createElement("action", getNsPrefix(), getNsURI(),"Oracletohermesb"));
soapBody.addChildElement(SOAPUtility.createElement("serviceType", getNsPrefix(), getNsURI(),"OracleServiceType"));
soapBody.addChildElement(SOAPUtility.createElement("convId", getNsPrefix(), getNsURI(), "convId"));
soapBody.addChildElement(SOAPUtility.createElement("fromPartyId", getNsPrefix(), getNsURI(), "Oracle"));
soapBody.addChildElement(SOAPUtility.createElement("fromPartyType", getNsPrefix(), getNsURI(), "Name"));
soapBody.addChildElement(SOAPUtility.createElement("toPartyId", getNsPrefix(), getNsURI(), "Hermes-b"));
soapBody.addChildElement(SOAPUtility.createElement("toPartyType", getNsPrefix(), getNsURI(), "Name"));
attach(soapMessage);
protected void attach(SOAPMessage soapMessage)
String h=mess;
DataHandler dh;
AttachmentPart ap = soapMessage.createAttachmentPart(h,"text/plain");
soapMessage.addAttachmentPart(ap);
if(allegati!=null)
for(int i=0; i<allegati.size();i++)
dh=new DataHandler(new FileDataSource(new File(allegati.get(i))));
ap=soapMessage.createAttachmentPart(dh);
ap.setContentType(new MimetypesFileTypeMap().getContentType(allegati.get(i)));
ap.setContentLocation(allegati.get(i));
soapMessage.addAttachmentPart(ap);
@Override
protected void processFault(SOAPFault soapFault) throws SOAPException{}
@Override
protected Object processResponse(SOAPMessage responseMessage,SOAPBody responseBody) throws SOAPException
SOAPElement messageId = SOAPUtility.getChild(responseBody, "message_id", getNsURI());
return null;
%>
The code works fine on the other trading partner side to send ebXML message to Oracle B2B. Apart from this solution (however,it would be my favorite), I find your blog and I try to implement your solution. It works: it sends files with only text payload to the other trading partner without any problem, but if I try to send for example an image in byte array written in a file .txt, the ebxml file received has the byte array with wrong characters. it may be that I have not provided the xsd schema? in case if I wanted to send an ebXML message with text and attachments, what xsd schema do I need to provide?
or is there another way to implement a SOA composite application to send SOAP messages with attachments?
Thank for your help!, regards
Nello -
How to send JMS message from pl/SQL to jBoss
Hi all,
I need a helping. This is my problem:
There's a queue which is definitied under the Jboss. I would like send a message from pl/SQL to jBoss.
Why is't working??
http://www.oracle.com/technology/sample_code/tech/java/jsp/samples/jms/Readme.html
thnk's,
fgy,,You can defince a queue in Oracle, then access this queue from your Jboss application. Not sure if you need JMS, but there are some Oracle OCI functions that are certainly helpful for such a task.
You might look into further details be reading the manual on Oracle Advanced Queuing or Oracle Streams.
http://download.oracle.com/docs/cd/B19306_01/server.102/b14257/part4.htm#i436427 -
Automated Message from Oracle Files
Good Morning:
When I set a new user account in Collaboration Suite, Oracle files generated a email notification like:
"(Automated message from Oracle Files)
An account has been created for you on Oracle Files
(http://middleserver:7779/files/app) with the following
User ID: user01
In order to enable Protocol Access in Oracle Files you must go to
http://middleserver:7779/files/app/ProtocolAccess and
enter your Single Sign-On Password.
Thank you for using Oracle Files. "
But I need to change this message because the port setted is 7778 instead of 7779.
Where I can change this default port for generate the correct notification?
Thanks a lot for your help.Hello,
I was wondering if we had the ability to handle this via the adapter?
Possible, but you need to develop adapter module for this.
It looks like a prologxmlepilog, but in your case, they are the ones sending. Where is the XML payload in the structure that you provided?
You can re-escape the characters using java mapping. For example, find %3C and replace with < . Here is the complete list of URL escape characters http://www.december.com/html/spec/esccodes.html
Hope this helps,
Mark -
How can i send simple message from PC-to-another device
How can i send simple message from PC-to-another device
just simple message (like command String) not SMS or Data File.
I have a computer with bluetooth and the oter side is Embeded Blue
Thanks.http://www.oracle.com/technology/products/integration/bam/10.1.3/TechNotes/TechNote_BAM_AQ_Configuration.pdf
This document details how to create triggers on a table that send out JMS messages.
In this example, the messages are going to Oracle BAM.. your message could go to your J2EE application listening to its own topic/queue.
an alternative idea.
you could also just cache your lookup table with something like Oracle Coherence and than try to ensure that all changes to the lookup go through Coherence, so that you won't need to do notification from the db up to the application. the application and the lookup data management tool would be using the data grid for management of the lookup table data, and the data grid (coherence) would persist the lookup data changes back to the db. -
Regarding text messaging, if I send a message from my iPhone, the reply goes to my ipad, or mini ipad. How can I stop this from happening?
Go to Settings/ Messaging/ Send & Receive on each device to set the contact points to be reached at, and to set the "from" address when you start a new message. It sounds like your iPhone might be sending messages out as one thing (e.g. an iCloud address) but set to not receive replies only to your phone number. Make sure you review settings on each device since you may, or may not, want to have them common.
-
Sending a mail from oracle database
Hi,
I have a requirement to send a mail from oracle database.I use UTL_TCP package for this.Although my procedure is executed successfully,i dont get the mails in my inbox.Please help me to figure out a solution.
Thanks in advance....Hi, you must use UTL_SMTP package for send emails, it has more performance and features for debug. You must look the next code, this is a example for send emails.
DECLARE
c UTL_SMTP.CONNECTION;
PROCEDURE send_header(name IN VARCHAR2, header IN VARCHAR2) AS
BEGIN
UTL_SMTP.WRITE_DATA(c, name || ': ' || header || UTL_TCP.CRLF);
END;
BEGIN
c := UTL_SMTP.OPEN_CONNECTION('smtp-server.acme.com');
UTL_SMTP.HELO(c, 'foo.com');
UTL_SMTP.MAIL(c, '[email protected]');
UTL_SMTP.RCPT(c, '[email protected]');
UTL_SMTP.OPEN_DATA(c);
send_header('From', '"Sender" <[email protected]>');
send_header('To', '"Recipient" <[email protected]>');
send_header('Subject', 'Hello');
UTL_SMTP.WRITE_DATA(c, UTL_TCP.CRLF || 'Hello, world!');
UTL_SMTP.CLOSE_DATA(c);
UTL_SMTP.QUIT(c);
EXCEPTION
WHEN utl_smtp.transient_error OR utl_smtp.permanent_error THEN
BEGIN
UTL_SMTP.QUIT(c);
EXCEPTION
WHEN UTL_SMTP.TRANSIENT_ERROR OR UTL_SMTP.PERMANENT_ERROR THEN
NULL; -- When the SMTP server is down or unavailable, we don't have
-- a connection to the server. The QUIT call will raise an
-- exception that we can ignore.
END;
raise_application_error(-20000,
'Failed to send mail due to the following error: ' || sqlerrm);
END;
Also review the next link for get more information about the UTL_SMTP packege.
http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14258/u_smtp.htm#sthref15587
Regards.
Maybe you are looking for
-
Standard report to check total cost (WIP) or before transfer to fixed asset
Hi All, Is there any standard report to check total cost work in progress (WIP) or cost before we transfer to FXA (fixed asset) Please advice. Thank you. Nies
-
I am using Dom parser in java to parse xml.I am able to retrive data from xml.Can any one help me in updating an xml when data is modified in the user interface.I am created interface in html with three fields namely UserName , LastLogin, Modified fi
-
Starting and stopping SAP in Unix
Hi, Pls tell me the command to start and stop sap in Unix. I dont want to start and stop the Database Pls help
-
Well, I just emailed support again but overlooked the (faster?) forums until now. Maybe someone can help me out... ------- EMAIL SENT -------- Hi, I emailed the customer support a while ago and got a generic reply as how to reset my mp3 player's OS.
-
Flash MX 2004 Pro & QuickTime Pro 7
Iam using Flash MX 2004 Pro and there is a feature that when I want to publish a movie it says I can export a movie in quicktime. I tried it and I get the following error. "Flash MX - An error occured because a required QuickTime component could not