JDBC Adapter Queue Name
I am trying to use EOIO in Sender JDBC Adapter. How are Queue Names Admnistered? Or how are the queues maintained?
Any help appreciated.
Regards
Mike
Hi,
You can give any names for the Queues in the sender adapter for EOIO.
This you can not see, in the SMQ2 until it is not stuck. Totally it will add the given name with XBQ*
Related blog-
/people/sap.india5/blog/2006/01/03/xi-asynchronous-message-processing-understanding-xi-queues-part-i
For more~
http://help.sap.com/saphelp_nw2004s/helpdata/en/7b/94553b4d53273de10000000a114084/content.htm
Regards,
Moorthy
Similar Messages
-
Table name in Receiver JDBC Adapter
Hi All,
I am using receiver JDBC adapter.
But table name consist of " like BPC."#II" .
After mapping table name becomes BPC."#II" .
I am getting error while pulling data from DB.
Is the table name creating a problem.
Please remedy of this if you have come across such scenario.
Regards
PiyushHi Piyush,
All that i could get from the SAP Help regarding JDBC Adapters are these links where i never found anything much regarding the table name.anyways just go through these links and see if you find anything useful.
http://help.sap.com/bp_bpmv130/Documentation/Planning/XIUnicodeGuide030411.pdf
<a href="http://help.sap.com/saphelp_nw04/helpdata/en/b0/676b3c255b1475e10000000a114084/content.htm">Configuring the Receiver JDBC Adapter</a>
<a href="http://help.sap.com/saphelp_nw04/helpdata/en/cf/406642ea59c753e10000000a1550b0/content.htm">Mapping Lookups</a>
<a href="http://help.sap.com/saphelp_nw04/helpdata/en/22/b4d13b633f7748b4d34f3191529946/content.htm">JDBC Adapter</a>
<a href="http://help.sap.com/saphelp_nw04/helpdata/en/64/ce4e886334ec4ea7c2712e11cc567c/content.htm">Configuring the Receiver JDBC Adapter - part 2</a>
This is all i got from the help files, anyways you can also go through those links and see if you find anything else useful.
- Escape Symbol for Apostrophe
The apostrophe character () is a reserved character in SQL syntax and is therefore replaced by an escape character if it occurs within value strings. This replacement character can be database-specific. Typical replacement characters are \ or (default value). If a character occurs that is invalid for the database being used, the adapter triggers an error message (an SQL exception) concerning the SQL syntax that is generated by the database.
- Column Name Delimiter
Depending on the database being used, column names can be enclosed by a special delimiter character, for example, if the names can contain special characters (such as ). This character can be specified at this point. The default setting is no delimiter character. If a character occurs that i
Also check if there are notes in the service market place related to the same.
Regards,
abhy
Message was edited by: Abhy Thomas -
JDBC Adapter-XML Document Name
I am working on XI 2.0 and need to change the XML document name I am receiving from an inbound JDBC adapter. The document I am receiving is:
<resultset>
<row>
<col1>ABC</col1>
<col2>123</col2>
</row>
</resultset>
I want to receive:
<MyDocumentName>
<row>
<col1>ABC</col1>
<col2>123</col2>
</row>
</MyDocumentName>
Does anyone know how to override the default "resultset" name from the JDBC adapter??? The reason I need to do this is because my message mapping does not work properly unless I have the Message type of the message from my JDBC adapter as "resultset".
Thanks for your help!
Dan Pettingill(Note: I work with Dan Pettingill, the starter of this thread)
I decompiled the class Renato suggested, but I don't
think that's going to be the solution. The DB2XMBProcesser is dependent on XI properly setting the properties values for the jdbc adapter. DB2XMBProcesser will use a property named "db.documentname" to set the name of the root node of the DB2 results. If no such property is defined, the default value of resultSet is used.
[documentName = getParaWithDefault("db.documentName", "resultset");]
Our problem seems to be that XI is not passing along the parameters we define in the adapter configuration. We've tried numerous combinations and names, but they never take.
The only way we can get XI to recognize that we are sending in a documentName parm is to call it "docName". Any other name is essentially ignored (including db.documentname, documentname, XMB.docName, and a lot of other permutations as well).
But here is the log from that adapter when we do so. Not that it sees the value we're setting, but it won't set the documentname parm going to the jdbc.
2004-08-31 17:33:45 : jdbcListener
Raw configuration data ***
Transport protocol: JDBC, version
Message protocol: JDBC, version
pollInterval|301
additionalParameters|true
jdbcDriver|com.ibm.db2.jcc.DB2Driver
retryInterval|null
dbpassword|***
queryStatement|SELECT * FROM RBPRDB.T1256;
queueName|null
autoCommit|false
updateStatement|Delete from RBPRDB.T1256 Where GUID Is Not Null;
dbdisconnect|false
dbuser|r50445
adapterStatus|active
isolationLevel|2
addParameterParams|*** TABLE , 2 ROWS DEFINED ***
addParameterParams|addParameterParams$0$addParameterParamName$docNamespace
addParameterParams|addParameterParams$0$addParameterParamValue$urn:freescale.com
/xi/db2-ims/wms
addParameterParams|addParameterParams$1$addParameterParamName$docName
addParameterParams|addParameterParams$1$addParameterParamValue$SelectAckQueue
pollIntervalMsecs|null
execute|null
connectionURL|jdbc:db2://WACCTSO.sps.mot.com:9003/WACCDB2T
qualityOfService|EO
Used configuration data ***
'MessageProtocol': 'JDBC'
'adapterStatus': 'active'
'addParameterParams.dbEncoding': ''
'addParameterParams.docName': 'SelectAckQueue'
'addParameterParams.docNamespace': 'urn:freescale.com/xi/db2-ims/wms'
'addParameterParams.docNamespaceScope': 'root'
'additionalParameters': 'true'
'autoCommit': 'false'
'connectionURL': 'jdbc:db2://WACCTSO.sps.mot.com:9003/WACCDB2T'
'dbdisconnect': 'false'
'dbencoding': ''
'dbpassword': '***'
'dbuser': 'r50445'
'documentname': 'resultset'
'documentnamespace': ''
'execute': ''
'isolationLevel': '2'
'jdbcDriver': 'com.ibm.db2.jcc.DB2Driver'
'pollInterval': '301'
'pollIntervalMsecs': '0'
'qualityOfService': 'EO'
'queryStatement': 'SELECT * FROM RBPRDB.T1256;'
'retryInterval': '301'
'updateStatement': 'Delete from RBPRDB.T1256 Where GUID Is Not Null;'
OK - initialized -
Change Queue Name in Sender Soap Adapter (or make it dynamic)
Hello SDN!!!!
We have a scenario where we want to make a message EOIO and I have set the Queue Name in the Sender Soap Adapter and this works great. BUT it is needed to have a more specific queue name (based on order numbers not interface name) So with this being said, Is there any way to change the queue name or append to it from the Soap Sender Adapter. I see it is possible to write a Module Bean, but the Message object returned from the ModuleContext is a scaled down version of the normal message object. Any help would be greatly appreciated
Cheers
DevlinIs this the only way to change the queue name for Soap Sender? I don't think it is possible for them to do this, as their urls are static when calling us
-
Jdbc adapter table's name in chinese
hi everyone:
I have configured the 'JDBC-XI-RFC' secnario, my trouble is that both the name of database table and table's fields are chinese, so the JDBC adapter can not get the datas from the DB table.
Any good idears? except changing the table' name in english.
B/R
amandahi,Bhaumik
Thank you for your answer.
Now the JDBC Adapter can select the data from DB table in chinese, but i think the mapping is impossible to be completed,because it's impossible to define the field name in chinese in data types.
As what you said,develop adapter in java,i think it is difficult for me.
thanks a lot.
Amanda -
Help on Dynamic queue name in JMS Adapter
Hi Experts,
Could you please explain how to configure dynamic queue name in JMS Adapter.
My requirement is i would have to add the date and time to JMS Queue Name in receiver JMS Adapter.
Thanks in Advance
Chillahi,
as it's not in Adapter-Specific Message Properties
http://help.sap.com/saphelp_nw04/helpdata/en/10/b1b4c8575a6e47954ad63438d303e4/content.htm
looks like you cannot do it with jms adapter in standard
use proxy or your own adapter instead
Regards,
michal
<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a> -
Passing the queue name to the sender JMS adapter at run time..
Hello Experts,
I have a scenario where PI is to pick data from MQ queues. The message type coming from queues is same and the procession needs to be done with PI is also the same.That's the reason why we want to have only one interface processing the data for all the queues.
My question here is that is there any way where I do not put the queue name in the sender adapter at design time and based on the data availability in the queue let the sender adapter know the queue name to be processed at run time.
Any suggestions will be greatly appreciated.
- Rajan> My question here is that is there any way where I do not put the queue name in the sender adapter at design time and based on the data availability in the queue let the sender adapter know the queue name to be processed at run time.
Unfortunately for JMS Sender CC it is not possible, but other way around is possible. I.e. you can dynamically choose the receving queue names by using ASMA "JMSReplyTo" in JMS Sender CC.
Regards,
Sarvesh -
JDeveloper - ESB / BPEL - JMS Adapter - prefix queue name with db schema
When I use the JMS Adapter in ESB to create a new message queue producer or consume using database (AQ) I'm experiencing a problem when selecting the queue.
I can browse the queue in the database but when I have selected the queue JDeveloper prefix it with the schema name owning the queue.
Example:
java:comp/resource/DocumentQueueResourceProvider/Queues/QUEUES.DOCUMENT_IMPORT_QUEUE
Schema owner is QUEUES and the name of the queue is DOCUMENT_IMPORT_QUEUE.
The problem is when I try to use it its unable to look up the queue and I have to manually remove the prefix from .wsdl file before deploying it - as with setting mcf.IsTransacted='false'.
When the resource provider finds the queue and exposes it in the JNDI three it does it without the prefix.
Question: How do I either:
a) make the schema prefix be removed by JDeveloper
b) make the resource provider prefix the queue name with the schema name.
Anybody?
Best regards
Christian DamsgaardTry this:
<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema targetNamespace="http://www.yourcompany.com/msg"
xmlns:tns="http://www.yourcompany.com/msg"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:nxsd="http://xmlns.oracle.com/pcbpel/nxsd"
nxsd:encoding="ASCII" nxsd:stream="chars" nxsd:version="NXSD"
elementFormDefault="qualified" attributeFormDefault="unqualified">
<xsd:element name="rootnode" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy="${eof}"/>
</xsd:schema>
This will result in a single node xml.
Edited by: user472896 on Sep 22, 2010 10:29 AM -
Queue name in QOS EOIO -Sender SOAP Adapter
hi,
While configuring sender soap adapter , if we specify EOIO as QOS , then there is a mandatory parameter Queue name to be specified.
What is this Queue name ?
and where is it created
kindly reply
Regards,
loveenaHi D' souza
Goto tcode -> SXMB_ADM -> register queues
for specifying QOS EOIO you need to assign a queue
from there you can specify the queue for Outbound side EOIO queue
Various queue name and there meaning is as follows
XBT*-Queues for Exactly Once.and time dependent
XBQ*-Queues Exactly Once In Order.
XBTI* are inbound queues for EO with time constarint
XBTO* are outbound queues for EO with time constarint
XBQI* are inbound queues for EOIO
XBQO* are outbound queues for EOIO
for beter understanding of how to configure sender soap channel you may folow this link
http://help.sap.com/saphelp_nw04/helpdata/en/0d/5ab43b274a960de10000000a114084/frameset.htm
thanks
sandeep
if helpful reward points
Thanks
sandeep
if helpful rewrad points -
Invalid column name error in JDBC adapter
Hi all,
My scenario is Proxy->XI->JDBC.
I get the following error in receiver JDBC adapter.
Unable to execute statement for table or stored procedure. 'Account_Master' (Structure 'STATEMENT') due to com.microsoft.sqlserver.jdbc.SQLServerException: Invalid column name 'A7'.
There is no column by name A7 in the table nor there is a field by that name in the data type.
Can anyone provide any helpHi Swatantra,
compare your message-type with the database table!
There must be difference!
Regards Mario -
Set Queue name dynamically in MQ adapter
Hi,
Kindly suggest, how to set Queue name dynamically in Mq adapter.Hi Ajay,
Thanks for your response.
Below mentioned property value works fine for JMS adapter.
Am looking for the property name of MQ adapter.
Tried to set the queue name to the property jca.mq.ISpec.EnqueueMsgToQ and failed.
Could you please provide the property name for MQ adapter -
How to set queue names dynamically for MQ Adapter - SAP XI
Hi Friends
I have a scenario where I should send a message to multiple queues ( more like broadcasting ) using a single communication channel of MQ Adapter. The scenario is like this
1. If the message content contains value '111' then message should go into Queue A, Queue B, Queue C
2. If the message content contains value '222' then message should go into Queue A, Queue B
I will store the content values inside a table ( value and queue names ) and can pick it up inside BPM but want to know how to change the queue name property of MQ series adapter. I will do this inside a loop so the message can be sent to multiple queue names but want to know how to change the queue name property of receiver communciation channel.
I appreciate the help in providing the answer.
thanks
KannanAmaresh
Thanks for your answer but my question is specifically targeted towards MQ adapter and the queue name which has to be dynamically changed. I can do the dynamic changes for file adapters but want to know how to change the queue names in message mapping or inside BPM.
regards
Kannan -
In case of EOIO , then QUEUE NAME in File Adapter
Hi
I'm using File Adpater in the Sender side (FTP ).. and in the processing parameters if i choose the Quality of Service : EOIO then system was asking as next parameter is Queue Name .--?
Here what can we give as queue name.. Is that is the new name.. Or any existed queue name... how we can identify that particular queue name..
helpful answers will be appriciated
regards
Jain> I'm using File Adpater in the Sender side (FTP ).. and in the processing parameters if i choose the Quality of Service : EOIO then system was asking as next parameter is Queue Name .--?
>
> Here what can we give as queue name.. Is that is the new name.. Or any existed queue name... how we can identify that particular queue name..
Go through this...
XI Asynchronous Message Processing: Understanding XI Queues -Part I -
Dynamic queue name with JMS Queue XML?
Hi,
Is it possible to use dynamic queue name with JMS Queue XML?
I tried using a variable in the JNDI URL, and supply the value in a package. I specified the following in the JNDI URL in the Topology:
e.g.
<JMS_RESOURCE>?d=<DTD_FILE>&s=<SCHEMA>&JMS_DESTINATION=#PROJECT_NAME.dest_var
I declared and set the variable in a package, then tried to load data from the above data server to database. But executing this package gave me the following error:
7000 : null : java.sql.SQLException: javax.jms.JMSException: Cannot find the target in JNDI (#PROJECT_NAME.dest_var)
java.sql.SQLException: javax.jms.JMSException: Cannot find the target in JNDI (#PROJECT_NAME.dest_var)
at com.sunopsis.jdbc.driver.bg.executeQuery(bg.java)
at com.sunopsis.jdbc.driver.bh.executeQuery(bh.java)
at com.sunopsis.jdbc.driver.l.f(l.java)
at com.sunopsis.jdbc.driver.l.executeUpdate(l.java)
at com.sunopsis.sql.SnpsQuery.executeUpdate(SnpsQuery.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execSrcOrders(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSqlC.treatTaskTrt(SnpSessTaskSqlC.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java)
at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java)
at com.sunopsis.dwg.cmd.DwgCommandScenario.treatCommand(DwgCommandScenario.java)
at com.sunopsis.dwg.cmd.DwgCommandBase.execute(DwgCommandBase.java)
at com.sunopsis.dwg.cmd.e.i(e.java)
at com.sunopsis.dwg.cmd.g.y(g.java)
at com.sunopsis.dwg.cmd.e.run(e.java)
at java.lang.Thread.run(Unknown Source)
Am I doing it wrongly?
Thanks!hi,
as it's not in Adapter-Specific Message Properties
http://help.sap.com/saphelp_nw04/helpdata/en/10/b1b4c8575a6e47954ad63438d303e4/content.htm
looks like you cannot do it with jms adapter in standard
use proxy or your own adapter instead
Regards,
michal
<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a> -
JDBC adapter taking too much time for inserting
we` have given a "update insert" query to be used in the JDBC adapter to insert these records into the database. Consists of 3 tables with 29fields in first, 4 fields in the other two.
While message in XI gets processed in just 1-3 secs, the database processing time goes up to as much as 8 minutes for one record to get inserted.
As immediate solution, is there any way we can have the JDBC adapter process these messages faster? These messages get queued up and hence all the other messages also get queued up delaying the other interfaces. We have a central adapter engine...
Also is there any way we can get alert when the status is in "Processing/To be delivered/Delivering" and the message count exceeds a certain number say 1000I am using only one receiver JDBC channel
We have been inserting three different table by using 3 different statemets tags(i.e) statement1(for table1),statement2(for table2),statement3(for table3).
My structure is,
<messagetype Name>
<Statement1>
<tag1>
<action>UPDATE_INSERT</action>
<table>Table1</table>
<access>
<field1>
<field2>
<field28>
<key>
<MatNumber>
</tag1>
</statement1>
<Statement2>
<tag1>
<action>UPDATE_INSERT</action>
<table>Table2</table>
<access>
<field1>
<field2>
<field4>
<key>
<MatNumber>
</tag1>
</statement2>
<Statement3>
<tag3>
<action>UPDATE_INSERT</action>
<table>Table3</table>
<access>
<field1>
<field2>
<field4>
<key>
<MatNumber>
</tag3>
</statement3>
You can see we are also using key as well.In the first table we have 28 fields,second & third we are having 4.
Edited by: rajesh shanmugasundaram on Jul 31, 2008 11:08 AM
Maybe you are looking for
-
Add a reset button to a formCentral form
Is it possible to add a cancel or reset button to a form that will close the form and not proceed to submit the form?
-
I'm having problem as "A class name generation conflict has occured between element 'psoID' and element 'psoID'. Please use a Binding file to solve this problem.Continue anyway [not recommended] (y|n|?)" Above warning is generated when am trying to g
-
Why cant i update to os 10.7.5
why cant i update to os 10.7.5?
-
My I4S went through the update process,but at the end said it could not update it. Can anyone help.
-
I have successfully set up a dual boot Win2K / Sol8x86 system... The only trouble is... When I try to go into boot tasks and set it to autoboot from disk the systems hangs. I get as far as setting the default boot device and it locks when pressing F2