JMS Adapter Configuration
Hi All,
Can we control the no. of jms consumer instances that would be fired for the same queue?Say if 10 payloads get inserted into the queue we want only four of them to be processed at a time.So only four consumers fire then when these requests complete successfully the next four start processing etc.
So is there any configuration that can be used to achieve this behavior?
Thanks.
hi,
ya i added an eis & jndi name. the eis which i created is not reflecting in connection factory location in configuration>outbound connection pools. this is the problem.
thanks
ayyadurai.
Similar Messages
-
Sender JMS adapter configuration for IBM MQSeries
Dear All,
i am doing a IBM MQSeries 5.2.x Message ->sender JMS adapter -> XI server -> receiver RFC adapter -> R/3.
i have deployed the JMS adapter with the required jar files of IBM MQSeries 5.2.x in XI server.
in Sender JMS adapter configuration for IBM MQSeries 5.2.x, i have put following data:
1. Transport Protocol: Websphere MQ - is it okay?
in JMS provider settings:
2. in channel name - what should be there?
3. Transport Network protocol should be TCP/IP or WebsphereMQ - how to decide this thing.
4. JMS Complaint - whether WebsphereMQ or JMS API.
in JMS Settings:
5. JMS Queue user - is this IBM MQSeries 5.2.x Queue User or someother user?
6. JMS Message Selector - what data to take here.
So if anybody has connected IBM MQSeries 5.2.x to XI via JMS adapter, please answer my above queries.
Regards,
Rajeev GuptaHi Swaroop,
you can send me those documents at my gmail-id : [email protected]
Hi All,
one more question - to connect XI server to IBM MQSeries via JMS adapter in ID, do we need to have a MQSeries Client installed on XI server - or - just by configuring JMS adapter, we can send messages from IBM MQSeries to XI server without any MQSeries client on XI server?
Why Channel name is required in JMS configuration data?
Thanks,
Rajeev Gupta -
Error in JMS Adapter Configuration...Pls help..
Hi,
My scenario is that FTP->MQ Queue->Local JMS Queue->XI.
MQ Queue has successfully picked up the files from FTP and posted successfully into Local JMS Queue. But XI is unable to pick them up from Local JMS Queue.
It is giving the following error:-
Error during channel initialization; exception trace: javax.jms.JMSException: MQJMS2005: failed to create MQQueueManager for '153.88.140.28:ESEALMW303'
Here are the details what I enetered in the Sender JMS Adapter Configuration:-
Transport Protocol-> WebsphereMQ(Non JMS)
QueueConnection Factory Java Class-> com.ibm.mq.jms.MQQueueConnectionFactory
Queue Java Class->com.ibm.mq.jms.MQQueue
IP address: 153.88.140.28
Server port: 1414
Queue Mgr name ESEALMW303
Channel name MQMA_ESEALMW303_1
JMS queue EAB_MDMTOCBS_LQ01
Any help would be appreciatedSoumya,
Refer Abhy's reply in the below thread
XI JMS error MQJMS2005 : failled to create MQQueuemanager for ....
raj. -
Jms adapter configuration and testing
Hi,
Please inform the JMS adapter configuration and testing.
Thanks
NaiduHi,
tried to reach JMS adapter but was not sure about what to inform it with
Ok, just being silly there... About your problem:
Overview - not complete and a little dated but notetheless good starting point
Exploring JMS and SAP-XI JMS Adaper
JMS FAQ Note - valuable official statements for various questions. Many linked notes which may also be of interrest
http://service.sap.com/sap/support/notes/856346
Driver deployment note
http://service.sap.com/sap/support/notes/1138877
Some other valuable links provided by Chirag Gohil
Re: jms senarios
HTH for starters
Cheers
Jens -
Query: Sender JMS Adapter configuration
Hi All,
I'm trying out a scenario which sends data from a Message Queue to SAP.
For this I need to configure JMS adapter in the sender side. I would like to know whether <b>should I specify any content conversion parameters like "fieldLength" or "fieldSeperator" as we do it in sender file adapter for XI's indivual field identification.</b>
If no then how the variables will get mapped properly to the XI outbound ( sender ) Structure from Message Queue???..
Bcoz I believe MQ sends the data as a single stream of characters not as individual field..
Please advice..
Regards,
Joe.
Message was edited by: JoeHi Satarupa,
Thanks for your reply.
But if I'm getting say a stream of 10 characters (Name - 4 characters, Address - 5 characters, Option - 1 character totally 10 characters), how the system will know it has to send first 4 characters to name defined in XI, next 5 characters to Address defined in XI and the next 1 character to Option if I don't specify the conversion parameters??
Bcoz the data flows in the same way to XI as it flows for file adapter, where we speciy the content conversion parameters which helps it to send it to the variables defined in XI accordingly.
If you've some docs on both sender and receiver JMS adapters pls. lemme know..
Thanks,
Joe. -
Unable to select jms destination in the jms adapter configuration
hi,
I am trying to use JMS queues for consuming messages but after creating the JMS queues(destination) in the application server, i am unable to find the destination while configuring the jms adapter in jdeveloper.
any help would be appreciatedi am using soa 10g. are you saying there is an option for starting the jms server in the application sever or do i have to create a seprate jms erver for creating the jms server etc.
it will be really helpful if you can explain the how to create/start jms server,jms queue etc or provide link to any article that is available. also please note that i am using SOA 10g
thanks in advance -
JMS Adapter configuration error
Hi All
My scenario is file to jms.i configured the webspher MQ and i created queues manager and channals.I done JMS receiver like this,
1)Transport protocol:WebspherMQ JMS provied
2)Message porotocol:JMS x.1
3)Adapter Enigen: Integration Server
4)QueueConnecation Factery Java Class:com.ibm.mq.jms.MQQueueConnectionFactory
5)Queue Java Class:com.ibm.mq.jms.MQQueue
6)IP Address or server name:Localhost
7)Server port:1414
8)Queue Mannager Name:QM_sapxi
9)channal name:CHANNAL1
10)JMS queue:MQCONN.OUT
11)Transport/netwrok protocol:TCP/IP
12)JMS compliant:WebSpherMQ(non jms)
13)Deliver mode of message Producer:Persist JMS Messages in the JMS provider
14)mapping of the message:Entier message=JMS Payload
finaly i checked my Adapters status,it was red and i got the error Receiver channel. Details: (No detail information set. so pls help me .pls suggest me
thanking u
regards ,
rameshHello Ramesh,
I assume you deployed your jms libraries via SDM.
You can check a successfull deployment in the libraries of the server node via the J2EE Admin tool.
To get a more detailed log, you can augment the log level to debug for destinations
com.sap.aii.af.service.jms & com.sap.aii.adapter.jms. You can do so in the logConfigurator of the J2EE Admin tool.
Afterwards reactivate your comm channel in the configuration. (Just change the short text, so you can change and reactivate.)
When you then go to the defaultTrace file via the logViewer, you should see more details on the error.
Greetings,
Bart -
JMS Adapter Configuration (Access JMS Provider Generically)
Hi Exports,
How can i configure JMS adapter Using Access JMS Provider Generically, where can we mentioned target server. there is Quename and username and password but there is no target server details field. could you please give me suggetion how to configure this.Hi,
This will help you
JMS Adapter
/people/kan.th/blog/2007/02/05/exploring-jms-and-sap-xi-jms-adaper
http://help.sap.com/saphelp_nw2004s/helpdata/en/cd/d85a9d6fab7d4dbb7ae421f710626c/content.htm
Sender Jms Adapter
http://help.sap.com/saphelp_nw2004s/helpdata/en/f4/2d6189f0e27a4894ad517961762db7/content.htm
Receiver Jms Adapter
http://help.sap.com/saphelp_nw2004s/helpdata/en/10/b1b4c8575a6e47954ad63438d303e4/content.htm
Regards
Agasthuri Doss -
JMS Adapter Configuration at reciver side
Hi,
Actaully I have to configure JMS adapter HAving Content Conversion.
I m getting XML throuh XI and wan to convert it to TEXT File.
Can anyone tell me wat MODULE NAME, TYPE, MODULE Key , PARAmeter NAMe and VAlue i have to take.
HemantHi,
Take a look at this document,
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f02d12a7-0201-0010-5780-8bfc7d12f891
Regards,
Bhavesh -
Error in JMS Adapter Configuration.
Hi,
Its regarding JMS receiver adapter for MQ Series.
We have MQ 6.0 installed on PI server. While trying to connect thorough JMS receiver adapter we are getting a connection failure error at communication channel level.
The MQ administrator is of the opinion that as MQ is local to the PI server a channel is not required.
In the MQ server, the administrator has created a Manager and Queue which we are using in the JMS receiver channel.
We have provided the queue connection factory as the default one used for MQ 5.3
class also as the default. (All the extra jar files required for MQ 6.0 is deployed).
The error description says:
Error during channel initialization; exception trace: javax.jms.JMSException: MQJMS2005: failed to create MQQueueManager for '10.23.86.134:XBEIG_QMGR1'
at com.ibm.mq.jms.services.ConfigEnvironment.newException(ConfigEnvironment.java:586)
at com.ibm.mq.jms.MQConnection.createQM(MQConnection.java:2110)
at com.ibm.mq.jms.MQConnection.createQMNonXA(MQConnection.java:1532)
com.ibm.mq.MQException: MQJE001: An MQException occurred: Completion Code 2, Reason 2059
MQJE011: Socket connection attempt refused.
Any inputs would be very helpful...
Many Thanks,
Rosine.you can check the SAP Note 856346 - FAQ on JMS adapter it might have some info
-
JMS Adapter configuration failed in creating table that handles OEMS JM
Step 2 from Chapter 8 of E15763-01, Oracle Application Integration Architecture -
Foundation Pack 2.5: Integration Developer's
Guide
Configuring of JMS Adapters
Create the table that handles the OEMS JMS destination (queue).
Queues use a queue table. This SQL example creates a single table, AIA
SALESORDERJMSQTAB, for a queue. The multiple_consumers parameter specifies
whether there are multiple consumers. Set multiple_consumers to false for a queue.
Begin
DBMS_AQADM.CREATE_QUEUE_TABLE(Queue_table
'AIA_SALESORDERJMSQTAB',Queue_payload_type 'SYS.AQ$_JMS_MESSAGE',
sort_list 'PRIORITY,ENQ_TIME', multiple_consumers = >false,
compatible '8.1.5');
End;
Result:
SQL> Begin
DBMS_AQADM.CREATE_QUEUE_TABLE(Queue_table
'AIA_SALESORDERJMSQTAB',Queue_payload_type 'SYS.AQ$_JMS_MESSAGE',
sort_list 'PRIORITY,ENQ_TIME', multiple_consumers = >false,
compatible '8.1.5');
End; 2 3 4 5 6
SELECT * FROM ALL_TABLES WHERE TABLE_NAME='DBMS_AQADM.CREATE_QUEUE_TABLE';
no rows selectedStep 2 from Chapter 8 of E15763-01, Oracle Application Integration Architecture -
Foundation Pack 2.5: Integration Developer's
Guide
Configuring of JMS Adapters
Create the table that handles the OEMS JMS destination (queue).
Queues use a queue table. This SQL example creates a single table, AIA
SALESORDERJMSQTAB, for a queue. The multiple_consumers parameter specifies
whether there are multiple consumers. Set multiple_consumers to false for a queue.
Begin
DBMS_AQADM.CREATE_QUEUE_TABLE(Queue_table
'AIA_SALESORDERJMSQTAB',Queue_payload_type 'SYS.AQ$_JMS_MESSAGE',
sort_list 'PRIORITY,ENQ_TIME', multiple_consumers = >false,
compatible '8.1.5');
End;
Result:
SQL> Begin
DBMS_AQADM.CREATE_QUEUE_TABLE(Queue_table
'AIA_SALESORDERJMSQTAB',Queue_payload_type 'SYS.AQ$_JMS_MESSAGE',
sort_list 'PRIORITY,ENQ_TIME', multiple_consumers = >false,
compatible '8.1.5');
End; 2 3 4 5 6
SELECT * FROM ALL_TABLES WHERE TABLE_NAME='DBMS_AQADM.CREATE_QUEUE_TABLE';
no rows selected -
Dynamic configuration bean in JMS Adapter
Hello Experts,
My scenario is JMS(Active MQ) to File.Its just Passthrough scenario and no mapping involved.
Filename will be coming in one of the JMS Property (say businessId) and I need to set this filename to file adapter.
I have refered the stefan's blog and used the Dynamic configuration bean module in sender JMS adapter.
getFilename key.1 write http://sap.com/xi/System/JMS DCJMSMessageProperty4
getFilename value.1 module.filename
setFilename key.1 read http://sap.com/xi/System/File FileName
setFilename value.1 module.filename
But required filename is not populated in the target File.Any other configuration is missing here?Hi Karthiga
Did you set the ASMA properties in both your sender JMS channel and receiver File channel?
For the JMS adapter, as shown below, you will need to enter the DCJMSMessageProperty4 into the table
Configuring the Sender JMS Adapter - Configuring the JMS Adapter in the Integration Directory/PCK - SAP Library
If you want to set additional JMS message attributes, select Specify Additional JMS Message Properties (Maximum of 10).
In the table, enter the names of the JMS message properties whose values are to be included in the message header of the PI message.
The technical names of the additional attributes are DCJMSMessageProperty0, DCJMSMessageProperty1, ..., DCJMSMessageProperty9.
For the File adapter, you need to check the ASMA FileName attribute.
Once you have this configured, in your message, you should be able to see that the value is in the DynamicConfiguration section of the SOAP header.
Rgds
Eng Swee -
JMS Sender adapter configuration
Hi,
I have a problem in configuring my JMS sender adapter. My source structure is in the form of a FIXED lenght file.
Its structure is as follows:
Rec ID Required Loop repeat
SHC R 1
SCO R 1
SAM O n
SCD R 1
SCP O n
LTX O n
SCC O n
SUM R 1
where R indicates Required record type
O indicates Optional record type
1 indicates the record type occurs only ONCE in a record
n indicates the record may occur 0 to unbounded times in the record.
This is how I have defined my record set structure in the Module tab of the JMS adapter configuration.
SHC,1,SCO,1,SAM,,SCD,,SCP,,LTX,,SCC,*,SUM,1
The problem with this configuration is that the adapter expects the input file in this format
SHC
SCO
SAM
SAM.
SAM
SAM
SCD
SCD
SCD
SCD
SCP
SCP
SCP
SCP
LTX
LTX
LTX
LTX
SCC
SCC
SCC
SCC
SUM
Whereas my input file format has the following structure
SHC
SCO
SAM
<u>SAM</u>
SCD
SCP
SCC
SCD
SCP
<u>SCP</u>SCC
SCC
SCD
SCP
SCC
<u>SCC</u>
Could please tell me how I can handle this in my adapter config. I have gone through the following How To guide "How to ...Use the Content Conversion Module within the XI 3.0 J2EE JMS Adapter" but dont find how I can do this.
Cheers.HI,
Please see the below content conversion parameters
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f02d12a7-0201-0010-5780-8bfc7d12f891
Regards
Chilla -
Jms adapter not polling messages from jms topic
Hi
We have a jms adapter configured in BPEL process which need to poll messages from JMS topic.Unfortunately its not polling message from JMS Topic if we add Message Selector and Durable Subscriber properties in jca file.Please find jca file content below
<adapter-config name="SyncCustomerPartyListCDHJMSConsumer" adapter="JMS Adapter" wsdlLocation="oramds:/apps/AIAMetaData/AIAComponents/ApplicationConnectorServiceLibrary/CDH/V1/ProviderABCS/SyncCustomerPartyListCDHProvABCSImpl.wsdl" xmlns="http://platform.integration.oracle/blocks/adapter/fw/metadata">
<connection-factory location="eis/jms/aia/syncCustomerParty_cf" UIJmsProvider="WLSJMS" UIConnectionName="Dev"/>
<endpoint-activation portType="Consume_Message_ptt" operation="Consume_Message">
<activation-spec className="oracle.tip.adapter.jms.inbound.JmsConsumeActivationSpec">
<!--property name="DurableSubscriber" value="XYZ"/-->
<property name="PayloadType" value="TextMessage"/>
<!--property name="MessageSelector" value="Target in ('XYZ')"/-->
<property name="UseMessageListener" value="true"/>
<property name="DestinationName" value="jms/aia/Topic.jms.COMMON.CustomerParty.PUBLISH"/>
</activation-spec>
</endpoint-activation>
</adapter-config>
If we remove Durable subscriber and message selector properties,its able to poll messages.
Any pointer will help
thanks in advance
BajiAfter changing below property in jca file.JMS adapter is able to poll messages from JMS Topic.
<property name="UseMessageListener" value="false"/>
But if i un comment below line and deploy my code again, it stop pulling the messages from topic.
<property name="DurableSubscriber" value="XYZ"/>
If i bounce the server after above change and deployment ,it will start polling the message.I am not sure why i need to restart my server after adding above property.
Thanks
Baji -
Hello,
I have a JMS adapter configured for MQ and can get messages to / from it. However, in troubleshooting with the MessageTransferBean my messages seem to dissappear into the JMS ether
How can I see the contents and more detailed error messages for the JMS adapter in XI/PI? Runtime Workbench shows only a portion of the error and I can't figure out where to find the rest.
Any advice on how to monitor the SAP JMS layer and see helpful troubleshooting logs are greatly appreciated!
Many thanks,
AaronHi Aaron,
I am giving you all the chapters from the bible of jms adapters.
1)notes for JMS adapter
Go thru these notes 790963,747601,746393,856346,802754,
837501 and 790224.
2)information regarding use of JMS Adapters,Go thru these links of help.sap.com
JMS Adapter:
http://help.sap.com/saphelp_nw04/helpdata/en/cd/d85a9d6fab7d4dbb7ae421f710626c/content.htm
Configuring the Sender JMS Adapter:
http://help.sap.com/saphelp_nw04/helpdata/en/f4/2d6189f0e27a4894ad517961762db7/content.htm
Configuring the Receiver JMS Adapter:
http://help.sap.com/saphelp_nw04/helpdata/en/10/b1b4c8575a6e47954ad63438d303e4/content.htm
JMS-Provider-Specific Settings:
http://help.sap.com/saphelp_nw04/helpdata/en/c1/739c4186c2a409e10000000a155106/content.htm
And to deploy the jars which are given in the JMS Adapter link go thru this article "How To Install and Configure External
Drivers for JDBC and JMS Adapters"
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f04ce027-934d-2a10-5a8f-fa0b1ed4d88f
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/60237e74-ef19-2b10-5a9b-b35cc6a28e83
http://help.sap.com/saphelp_nw04/helpdata/en/cd/d85a9d6fab7d4dbb7ae421f710626c/frameset.htm
/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions
Regards
joel
Edited by: joel trinidade on Mar 26, 2009 11:22 AM
Maybe you are looking for
-
Help with image saving in MS Access
I found the following code in the JDC, it was originally written for Oracle but I need to implement it into MS Access. http://forum.java.sun.com/thread.jsp?forum=45&thread=203905 It throws a null, exception.. Then if you look into the database there
-
I am getting different Names for one Shift_ID...
Hi Gurus, I am new to Oracle report and trying to fix one bug.When I run a report with a particular Shift_ID , I am getting different Customer_Service_Representatives Name in the report. I checked the sources of each columns in the Layout. I have als
-
Hi, I am currently doing 2 jsp page, the first one, view.jsp, retrieve data from the database and display it. the second, edit.jsp, allows you to edit the data, and save it to the database then it will redirect you to view.jsp. But, my problem is tha
-
Why is calendar agent using 90 percent of memory when it is not open?
The computer also has been freezing when I use apple's mail and the calendar. I have to do a hard shutdown and then log on again. Other programs are not affected.
-
Typing and displaying text.
I would like to create a page with Text Area and static field. When user type text in in Text Area I want display it in static Field in real time! Is it possible to do this? Regards, Kostya Proskudin