How to create queue !!
Hi experts!!
can any one guide me...in cretaing queues in sender side..integration server and in the receiver side...
I min .. i want to send some messages to legacy system from SAP system...
so i want to know..how to create queue in Integration server and in the reciever system.???
And also i want to know how to cretae multiple queues in the recever side......
Thanks in advance!!!!!
Biplab,
Check this document for creating queues and also if you want to prioritize them:
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/20bb9649-e86e-2910-7aa9-88ed4972a5f6
/people/sap.user72/blog/2005/12/12/how-to-prioritize-messages-in-xi
---Satish
Similar Messages
-
How to create queue table?
How to createHow to create queue table?
Give me step wise instruction to create queue tablesolution
first you have to create type.
second you have to CREATE_QUEUE_TABLE with procedure syntax.
and lastly you have to create CREATE_QUEUE with procedure syntax.
examples
SQL> create or replace
2 TYPE "name of type"
3 (xxxxx VARCHAR2(10),
4 xxxx NUMBER,
5 x_xxx VARCHAR2(50),
6 MAP MEMBER FUNCTION xxxxxx RETURN VARCHAR2
7 );
8 /
Type created.
SQL> BEGIN
2 DBMS_AQADM.CREATE_QUEUE_TABLE( Queue_table => 'owner.name of queue table',
3 Queue_payload_type => 'owner.type name',
4 storage_clause => 'PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 TABLESPACE COMP_TB',
5 Sort_list => 'ENQ_TIME', Compatible => '8.1.3');
6 END;
7 /
PL/SQL procedure successfully completed.
SQL> BEGIN
2 DBMS_AQADM.CREATE_QUEUE( Queue_name => 'owner.name of queue',
3 Queue_table => 'owner.name of queue table', Queue_type => 0, Max_retries => 5,
4 Retry_delay => 0, dependency_tracking => FALSE);
5 END;
6 /
PL/SQL procedure successfully completed. -
My applicationt needs to create a queue at runtime, dinamically. In the source code to create the code I use the method createQueue(queueName) and after I do the bind in the context. This is the code:
queue=queueSession.createQueue(queueName);
try
jndiContext.rebind(queueName,queue);
System.out.println("Bind fatto");
queue=(Queue)jndiContext.lookup(queueName);
System.out.println("Presa coda");
}catch(NamingException namEx)
System.out.println("Problemi con la binda");
namEx.printStackTrace();
System.out.println("La coda � "+queue.getQueueName());
queueReceiver = queueSession.createReceiver(queue);
The queue is created in correctly way and also the bind in the context is done in correctly way. When the application
creates the receiver opn the queue thereis an exception .
The exception is:
javax.jms.InvalidDestinationException: No Destination found
for name: ProvaQueue2
Can I resolve this problem?Can I create and use a dinamically queue?
Thanks for the help.A queue is an administered object that should be created prior to the application running. The purpose of the
method createQueue(queueName) is to create a Queue object - that is the description of the queue - not the Queue itself. The 1.0.2b Javadoc for this method says
Creates a queue identity given a Queue name.
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."
You should not be creating a queue dynamically. If you are working with the JMS Reference Implementation, you can use the JMS Administration tool (j2eeadmin) to create a queue. If you are using another implementation, consult the documentation for how to create queues.
My applicationt needs to create a queue at runtime,
dinamically. In the source code to create the code I
use the method createQueue(queueName) and after I do
the bind in the context. This is the code:
queue=queueSession.createQueue(queueName);
try
jndiContext.rebind(queueName,queue);
System.out.println("Bind fatto");
queue=(Queue)jndiContext.lookup(queueName);
System.out.println("Presa coda");
}catch(NamingException namEx)
System.out.println("Problemi con la binda");
namEx.printStackTrace();
System.out.println("La coda �
"+queue.getQueueName());
queueReceiver =
eReceiver = queueSession.createReceiver(queue);
The queue is created in correctly way and also the
bind in the context is done in correctly way. When the
application
creates the receiver opn the queue thereis an
exception .
The exception is:
javax.jms.InvalidDestinationException: No Destination
found
for name: ProvaQueue2
Can I resolve this problem?Can I create and use a
dinamically queue?
Thanks for the help. -
How to create and use dynamic queue in JMS
Plz tell me how to create and use a dynamic queue in jms and can reciever file lookup it as it lookup any server configurred queue(written in the server).
Hi,
We can use Azure File services to do this, for more information, please have a look at this article:
http://blogs.msdn.com/b/windowsazurestorage/archive/2014/05/12/introducing-microsoft-azure-file-service.aspx. The Azure File service exposes file shares using the standard SMB 2.1 protocol. Applications running in Azure can now easily share files between
VMs using standard and familiar file system APIs like ReadFile and WriteFile.
Best Regards,
Jambor
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
How to create JMS Queue in soa 11g?do we need to create jmsuser user in db
Hi All,
We r using SOA 11.1.1.3 version do we get jmsuser user while installing itself. we r unable to see this user. Can anyone suggest how to create a JMS queue in soa 11g.
Thanks,
RRHi,
Oracle SOA runs over weblogic application server 10.3.3
If you want to create a JMS queue, then you have to create it on weblogic server. For creating a JMS queue, first of all create a JMS server on weblogic admin console (by default http://localhost:7001/console) (Services --> Messaging --> JMS Servers) and target it to a server/cluster as desired. Now create a JMS module (Services --> Messaging --> JMS Modules) and target it to same server/cluster.
Now create a sub-deployment in JMS Module (Services --> Messaging --> JMS Modules --> Your JMS Module --> Subdeployments tab) and select the JMS server you created initially as a target of this subdeployment.
Now create a connection factory in that JMS module and in advanced targetting select the subdeployment you created. Now create a JMS queue in the same JMS module and in subdeployment select the subdeployment you created.
If you want to access this queue from an application then JMS URL should be like -
jms://hostname:port/connFactoryJNDIName/QueueJNDIName
Regards,
Anuj -
Please find the below scenarios
1) R/3(A system ) -
>Client PI--->Server PI---->File1
2) R/3(B system) -
>Client PI--->Server PI---->File2
In the above scenario the data transfer between through HTTS soap communications. While receiving the data at Server PI end, we have used the QOS=EOIO and we have used the Queue XBQI_22. This Queue has been used for the First scenario.
Here my doubt is, shall i use the same Queue for the 2nd scenario also? If I can, who will create the Queues( means Queues will be created by PI Developer or Basis Person).
If possible plz provide me the steps, how to create the Queues.
Thanks in advance,
Regards,
AVRHi AV,
Go thru following blogs....it will help you to play around with queues...
XI Asynchronous Message Processing: Understanding XI Queues -Part I
/people/sap.india5/blog/2006/01/03/xi-asynchronous-message-processing-understanding-xi-queues-part-i
How To Prioritize XI Messages on the Integration server
IN this u will come to know how to priortize message using the Queus.
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/59e837d3-0201-0010-c096-dc1869733413
Also have a look on the following link...
queue registration
With Regards,
Pinangshuk. -
How to create a queue using CVP with ICM script(Comprehensive mode)
Hello Guys,
I would like to know how can I configure a queue in a comprehensive mode using micro-app at CVP + ICM environment. I work with UCCE at least 2 years, so I know how to create a queue using UCCX and/or IPIVR (I do a queue application using UCCX Editor and at ICM I use the Run external Script component), but at CVP I don't know how to create a application at Call Studio and how to call this application at ICM Script Editor to run this queue if there aren't agents available.
Can someone help me to understand how can I do that?
I attached the ICM Script using micro-app. This script runs ok, I call to a Route pattern and CVP route request ICM, so ICM run the script, but if there are no agents available the call drops, so I would like to know how can I create a queue to hold the call and to come back to a available agent.
Regards,
Eric Zapparoli
Unified Communications
WittelOut of the check mark in the queue to skill group node you go to another run external script node, then you loop into that over and over again until the call is answered.
david -
How to create a JMS queue linked to external (remote) JMS server?
Hello,
I'm trying to receive messages from a remote JMS queue. I found some information on the Internet on how to create an external JNDI resource (my remote JMS queue connection factory is bound to LDAP context on remote box). I was able to configure JNDI resource that points to remote queue connection factory, but I don't know what to do next.
How can I create a local JMS destination (queue) that will be the image of the remote queue? At least I'm guessing this is what needs to be done in order to deploy MDBs.
I would appreciate it if someone could tell me how to get this working. Maybe the steps I took were not in the right direction - the bottom line is that JMS queue and queue connection factory are deployed on a remote server, and I need to get messages sent to them on the local server. I'm using Sun App Server from J2EE 1.4.
Thank you,
MarkPlease refer to http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6377822, particularly the evaluation. Could your situation be the same too (i.e server ip address changing dynamically)? Also, which OS are you using and do you have any firewalls setup that prevents access to port 3700?
-
Hi
I have created workitem SR advance and Criteria with ID [Assigned To ME] and created user role in Advance operators.
But in technician Console showing which SR he/she created not service desk assigned to him/her.
Please suggest...
Regards
Sheetla MauryaI have find out Solution .......Create Queue with Service Request Advance and we not need to create any criteria option, After that create custom User role on Advance
operators with View "Assigned To ME"
Regards
Sheetla Maurya -
How to Create and Use MQ Adapter(IBM MQ Series) in BPEL
Hi,
I am using Oracle SOA Suite 10.1.3.3.
I am very new to the Usage of MQ Adapter(IBM MQ Series) in BPEL.
what is the procedure to create our own Message Queues(i.e., MQ Series)?
It would be great if anybody share the idea of how to create the MQ and usage of same in BPEL Workflows.
is it mandatory to install websphere to create the MQ?
If possible,share the related docs for the same.
Any suggestions/views will be great.
Cheers,
Balaji
Edited by: user580285 on Nov 4, 2008 5:44 AMHi,
Kindly refer to the BPEL Dev Guide and in that please refer to the Appendix which contains MQ Series Adapter.
For this you need to provide the details like: -
MQ Server Host, port, queue manager name etc. Also you need not to install IBM Websphere MQ, you can work on it remotely as well. -
How to create multiple segments on the target structure of an IDOC
Hi All
I am working on the Shipment Confirmation Interface( Message Type SHPCON ) which is FILE to IDOC Scenario. I have a segment called E1EDL18 which occurs only once on the target side of the idoc. Now I have to created multiple E1EDl18 segments for the Qualifiers ORI, PGI and PCK. I treid to send a constant ORI,PGI,PCK and then used an user defined function which splits the constant at COMMA and then I am assigning to the target field QUALF. In the display queue for QUALF I see three values with context but still only one E1EDL!* segment is created. Please let me know how to create multiple E1EDl18 segments for three qualifiers.
Thanks
NagaIn message Mapping, just right click on the segment and click on duplicate subtree. now it will create you another segment with same name and fields in it..
you can hard code the Qual, or you can map the required source field into it. -
How to Create Oracle AQ in oracle XE 10.2.0.1.0
i am try to create Advanced Queue in oracle xe 10.2.0.1.0 .
for that i need one clarification.whatever i mensiond in the below packeges.
is it required to create Queue?.
if it is required. how we get this in our database.
is this packeges automatically availble whenever instaled the oracle xe 10.2.0.1.0.
1.DBMS_AQ
2.DBMS_AQADM
2. Question: i am try to create AQ in oracle XE 10.2.0.1.0
Fallow the below steps:
1.CREATE USER testq IDENTIFIED BY x;
2.GRANT connect, resource, dba TO testq;
3.GRANT aq_administrator_role, aq_user_role TO testq;
4.GRANT create type TO testq;
After 4 step i execute below sql command.getting the error .
Error is : ORA-00942: table or view does not exist .why i am getting this error.
CREATE OR REPLACE TYPE event_msg_type AS OBJECT (
name VARCHAR2(10),
current_status NUMBER(5),
next_status NUMBER(5)
pls help me on this ASAP.I am using the data base Oracle XE 10.2.0.1.0
Reference Link: http://www.orafaq.com/wiki/Advanced_Queuing
Based on the above link I try to create oracle AQ for the fallowing Steps:
Prepare Data base:
Step1:
CREATE USER testq IDENTIFIED BY x;
GRANT connect, resource, dba TO testq;
GRANT aq_administrator_role, aq_user_role TO testq;
GRANT create type TO testq;
Step2:
I try to excecute the below Sql command. But i am getting the error Like " ORA-00942: table or view does not exist"
CREATE OR REPLACE TYPE event_msg_type AS OBJECT (
name VARCHAR2(10),
current_status NUMBER(5),
next_status NUMBER(5)
what is the issues for this ? please help me on this ASAP. -
Unable to receive Queue Message Unable to create Queue in MDM 2.0.1
Hi All,
I am getting below exception when i am trying to read JMSQueue from weblogic server to MDM 2.0.1
Steps i configured as below:
Created XAI JNDI server : XAI JNDI Server(Demo), Provider URL(http://localhost:7001), Initial Connection Factory(weblogic.jndi.WLInitialContextFactory)
created XAI JMS Connection:XAI JMS Connection(DemoConn), XAI JNDI Server(Demo), JNDI Connection Factory(weblogic.jms.XAConnectionFactory)
created XAI JMS Queue: XAI Queue Name(DemoQueue), Queue Name(TestQueue), XAI JNDI Server(Demo)
created XAI Receiver DemoRx mapped with XAI Class JMSRCVR and with above configurations
MPL is creating intial context factory for jndi server properly and intializing queues properly.
But getting namenotfound exception at Receiver DemoRx
[Thu May 26 15:01:46 IST 2011] Receiver DemoRx - Read interval is 10 seconds.
[Thu May 26 15:01:47 IST 2011] Receiver "DemoRx" initialization failed:Unable to receive Queue MessageUnable to create Queue: javax.naming.NameNotFoundException: Unable to resolve 'TestQueue'. Resolved '' [Root exception is javax.naming.NameNotFoundException: Unable to resolve 'TestQueue'. Resolved '']; remaining name 'TestQueue'
com.splwg.mpl.receiving.ReceiverInitException: Unable to receive Queue MessageUnable to create Queue: javax.naming.NameNotFoundException: Unable to resolve 'TestQueue'. Resolved '' [Root exception is javax.naming.NameNotFoundException: Unable to resolve 'TestQueue'. Resolved '']; remaining name 'TestQueue'
at com.splwg.mpl.jms.queue.JMSReceiver.prepareConnection(JMSReceiver.java:394)
at com.splwg.mpl.jms.queue.JMSReceiver.init(JMSReceiver.java:266)
at com.splwg.mpl.receiving.AsyncReceiverManager$1.call(AsyncReceiverManager.java:232)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
Please help me in this regard
Thanks in advance,
sukumarHi Suraj,
I would prefer to discuss the problems in the forum. There are maybe other that have the same problem and they could then participate from the discussion.
No back to your problem:
As fare as I know there is no build in function to read directly from file system.
MPL is no longer supported in this product and this was the only module for reading the file system.
You have to develop an application to fetch the files form the file system or you must use an Enterprise Service Bus
like OSB or ServiceMix.
To enable the system for the IMD import you have to publish a Business Object or Script via XAI Inbound service.
The recommended way is to use the D1-IMDSeeder BO.
There is a chapter in the MDM Configuration Guide, explaining how to setup the XAI Inbound service.
There is also a service script available. The advantage of the service script is, that you can import IMDs for more than on device (D1-IMDEvtUpl and DM-IMDEvtUpl). The DM-IMDEvtUpl is eventually only in the demo database available.
The disadvantage of the IMDSeeder is, that you have to setup a lot of configurations in the system. There is another thread in the forum explaining the setup.
My preferred way is to use the D1-InitialLoadIMDScalar or D1-InitialLoadIMDInterval BO but you have to do a lot of things by your own.
/Markus -
Hi,
I am facing a problem in creating queue using DBMS_AQADM.CREATE_QUEUE_TABLE, in Oracle 9i.
Have given the following command
DBMS_AQADM.CREATE_QUEUE_TABLE ( queue_table=>'ORA_TRIG_TOPIC_TAB',
queue_payload_type=> 'SYS.AQ$_JMS_TEXT_MESSAGE',
storage_clause=>'',
sort_list=>'',
multiple_consumers=>TRUE,
message_grouping=>DBMS_AQADM.NONE,
comment=>'',
auto_commit=>TRUE,
primary_instance=>0,
secondary_instance=>0,
compatible=>'8.1',
NON_REPUDIATION=>0);
and getting the following error message
-600 ORA-00600: internal error code, arguments: [kcbgtcr_4], [38910], [0], [1],
Pls. let me know whether there is any work around is there for creating queues in 9i, having multiple_consumers propertyNo it is not so simple. This "le signe est sur l'avant dernier octet" means that the sign is last character in number.
The sign "é" and "I" are just in my example and they are somehow calculated but I don't know how?
If I take my example there is field with format S9(13)V99 and with value 00000000071049é (and with last sign "é") and I think the last sign is somehow calculated from number. And then from this value I get the number.
00000000071049é
FFFFFFFFFFFFFFC
000000000710490 => +0000000007104,90
S9999999999999V99
Everything I try, calculating from binary to hex, or anything other, I don't get the result or the last sign and I wonder if there is some function in PL/SQL that I can use to get the result I want?
Or if you have some idea how to help me to get from "00000000071049é" to "+0000000007104,90" from example above?
Here are some other examples, just for help:
000000204592D
000000183882D
000000139441C
000000182979H
000000083361F
000000083361F
000000083361F
000000059033F
000000066273E
000000069011G
000000102615B
000000092362F
000000138215‚
000000138215‚
000000138215‚
000000138215‚
000000106760C
000000106760C
000000106760C
000000115024A
000000115024A
000000115024A
000000115024A
000000115024A
000000088149B
000000084459I -
How to create OEMS JMS In-Memory and File-Based Persistence?
Anyone knows how to create OEMS JMS In-Memory and File-Based Persistence? Any help it is appreciated. I m working with Oracle BAM 11g TP4 and I want to test the capability of connecting directly to a JMS queue, and reading Oracle´s "complex" documentation I couldnt find the right way to make this happen.
tksHi Mario
This is explained in the soa developer's guide. Chapter 43 "Enterprise message source"should help you. You will find how to connect OEMS or JMS in-memory/file based to your BAM data objects with or without xpath transformation.
You can find sample of advanced XML formating in the 10g tech note: "Oracle BAM 10.1.3 configuration for BPEL 10.1.2 using JMS sensors" (useful even if you don't plan to use BPEL).
Anyway, if you plan to use BPEL, forget JMS and use the BAM adapter (chapter 42), it's quicker & easier.
Dominique
Maybe you are looking for
-
I have purchased loads of apps on my Ipad including pages and numbers, I want to use then on my new mac book pro so i logged in to my app store account and none of the apps I can access on my ipad show up in my "purchased" area. they are not hidden u
-
IPad and iTunes Capacity Issue/Application Install Issue
I've just spent the past hour trying to figure out why iTunes 10 is reporting I have 17.9GB of video although the iPad itself is saying I have 0 videos. I am not syncing any music videos, movies, TV shows, Podcasts or content from iTunes U. The iPad
-
Multi-touch with Microsoft Word 2008
So, I just got a new Macbook Pro, and am wondering how to use (or if it is possible) the multitouch features of the trackpad with word. Basicly, I'd like to increase font size with a pinch (like in Safari) or scroll, without having to select the scre
-
For 3 hours I'm trying to update my 5800. Tried with OVI suite, no luck, moved to PC Suite, again, no luck. 30 times. This is absolutely ridiculous, can't Nokia make it harder? Or, maybe, don't provide updates at all? This way, I spent half of my day
-
Time Capsule / Airport Extreme: What's in the 7.3.2 firmware ??
Hi Yes, I read bug-fixes, but which ??? Didn't Apple post a list or what ?