Use the same table queue send two different messages?
Hello
We have a reconciliation and an outgoing queue in our database!
Now, we need to create another message content to send to IBM MQ series, so it's just an outgoing messages (no incoming message!)
To the exsisting two queues, we have the gateway messages in place!
I was wondering if I can use the same outgoing queue table and infrastructure Message gateway to send another message charge (contect) to the IBM MQ.
Don't you think it's possible?
More info made me know!
Thanks a lot for your help!
Hello Louis,.
first of all I didn't detect something strange or even incorrect - perfect!
Your questions:
> 1. have I defind is correct? "multiple_consumers => TRUE);"
Yes, that's correct. We must define this order to use MGW.
> 2. I failed: gv_mq_inbound_log_queue: = 'ORACLE.002 '; part because I have not all incoming messages to oracle, I just sent messages in my case! > Is this correct?
Yes, that's also OK. Since you're carrying data from AQ to MQ in an outgoing queue. Incoming queue would be
the other way around. You have configured your MQ as a remote queue (sys.mgw_property ('MQ_openOptions', 16')).
You wishes to clarify this yet once with your MQ management group if this is correct. You may not know at this stage.
The alternative would be a local queue (value = 2066).
You don't show the part for the queue. This should be something like:
BEGIN
v_message_text: = p_message_text. GETCLOBVAL(). -using the XMLTYPE as payload type
v_text_body: = SYS. MGW_TEXT_VALUE_T (NULL, v_message_text);
v_payload: = SYS. MGW_BASIC_MSG_T (v_header, v_text_body, NULL);
DBMS_AQ. ENQUEUE (queue_name-online p_queue_name,
enqueue_options-online enqueue_options,
message_properties-online message_properties,
payload-online v_payload,
-Online v_msgid msgid);
> 3. The last of them, do you think I'll reach my goal with all these codes? Is that what you think may be missing or... ?
Yes, you will reach your goal using this code. Try it and tell me what happened.
Kind regards
WoG
Tags: Database
Similar Questions
-
the same sms arrive at two different iphone5
Why the same sms arrive at two different iphone5?
SMS or iMessage? If he were iMessage I guess you share your address Applid or email on 2 phones. The sender uses one of these identities to send their message instead of your unique phone number.
-
Using the same control appeal return of different tabs
Hello
I am fairly new to this bare with me for a second...
I have a situation were I use several tabs with the same exact command buttons in each of them. Given that the buttons have the same function I want to use the same reminder. I understand that each TAB is considered as an expert group and has its own Panel of handle.
My problem is I want the call to make the difference between the button OK of TAB1 and TAB2. The handle Panel sent back, the call is (from what I can tell) the Panel handle for the tab which is great, but it doesn't have a constant right having at it in the header file. How sure that TAB1 always has the Panel handle 2 and TAB2 has always handle Panel 3, etc...
Example: When I click on OK in TAB1 handle Panel sent to the btnOK is = 2 recall. If I click OK in TAB2 is the handful of Panel = 3. I want to move to the OK button, but do not want to use hard coded in full.
int CVICALLBACK btnOK (int command face, int, int event, void * callbackData, int eventData1, int eventData2)
{
switch (event)
{
case EVENT_COMMIT:
switch () {}
case 2:<----I don't="" want="" a="" number="" here="" but="" a="">----I>
"do this."
case 3:
"do this."
};
}
return 0;
}
The easy solution would be to have a reminder for each of the buttons. If it's the only way to go if it's what I'll do, but I am interested in what you think.
Thank you!
Hello
I see at least three ways to get what you want.
Solution A: depend on constant tab page name (as you can get it back by giving the handle from Panel)
In the callback, insert this code:
name char [64];
GetPanelAttribute (name of Panel, ATTR_CONSTANT_NAME),
If (! strcmp (name, PAGE1)) {}Code for the first page of the tab
}
Else if (! strcmp (name, PAGE2)) {}
Code for the second tab page
}
... code additional pages
Solution B: based on the attributes of the tab
int parent, index;
GetPanelAttribute (Panel, ATT_PANEL_PARENT, & parent);
GetActiveTabPage (parent, PANEL_TAB, &index);)
switch (index) {}
case 0:
Code for the first page of the tab
break;
case 1:
Code for the second tab page
break;
... Add the code to additional pages
}
Solution c: use the callbackData for buttons
This solution requires code in two different program sections
* During the loading of the Panel with the tab control
int pnlH;
GetPanelHandleFromTabPage (Panel, PANEL_TAB, 0, &pnlH);)
SetCtrlAttribute (pnlH, PAGE1_BUTTON, ATTR_CALLBACK_DATA, (void *) 1);
GetPanelHandleFromTabPage (Panel, PANEL_TAB, 1, &pnlH);)
SetCtrlAttribute (pnlH, PAGE2_BUTTON, ATTR_CALLBACK_DATA, (void *) 2);
... and so on
* In the recall button
switch (callbackData (int)) {}
case 1:
Code for the first page of the tab
break;
case 2:
Code for the second tab page
break;
... Add the code to additional pages
}
-
using the same indicator of string in different stacked sequences
Hi guys, I want to use the same string in different sequences stacked indicator. I tried to plug the output of each string constant through the sequence on my indicator chain outside the block in the sequence, but then I get an error "wire connected to a tunnel not channeled. What is the best way to use the same indicator for all sequences?
Hi JoVMo,
You can just use a local Variable of this indicator within the sequence...
Kind regards
Nitz...
(Kudos are always welcome)
-
can I use the same USB cable for two printers - HP Officejet 4315 and HP Officejet 6110?
I have an existing HP Officejet 4315 with USB cable and want to use the same cable replacement for my other printers, the HP Officejet 6110. This allows me to change the cable between the printer and still work?
Thank you for your thoughtful replies.
As you asked specifically about the compatibility of the USB cable, I would say that it will work because both devices support USB 2.0 (that is, both devices can be used with the same USB cable alternating).
Installation of the software for the two devices must be made successfully to use various functions.
-
I have this card and I want to have a zoom in the part that displays the residential street names, but of course I don't want the names of streets on the large version of the map. Without creating two different files can I activate these layers to the map zoomed in the corner and keep them to the enlarged map? Or is there a different way I should go about it?
The reasoning to want a single file is because the streets and points of interest are evolving, it would be frustrating to manually change the street name of each file, as time passes and things could eventually be forgotten. Have a main file would eliminate errors or inconsistencies between two files.
Card has been designed using InDesign in Illustrator and has.
in indesign, make a right click on the image linked and select 'object layer Options.
-
I bought the student edition Adobe Creative suit 5.5 standard design and I was told that there was a copy to 2 Macs. I've only used on one. I then send the 6 suit standard design Creative updated (not student worm). Does this mean that I can still use it on 2 Macs? There was only one disc for 5.5 and 6, just do you use the same disk to install on Mac?
Yes, you use the same drive and serial number... The Adobe license allows 2 activations
When you install the CS6 upgrade you will need to enter your previous serial number
-
How to use the same user interface project for different HumanTask in GR 11, 1 material BPM
When I set a user interaction activity in my process of material Oracle BPM 11 GR 1 and associate a human task with it. It generates a new project to contain all my forms. Anyone know if it is possible to use the same project for the different human task?After generating the UI for your first human task project, you can click with the right button on the project in JDeveloper and select 'New', click on the tab "Technologies all", then "JSF'-> ' ADF task based on human task workflow of." Then find the file your BPMN/composite project .task.
-
use the same style of type in different documents
Hello
I was exploring the character styles, and I feel that if you save a style to a particular file, you can use that style stored in another file, I am correct?
I have many files and I want to use the same consistent style in each of them, that the best way to do it?
Thank you!
You can use load paragraph Styles (or Load all Styles) to copy your original document for new styles.
You can also copy the style of text and paste it into the new document. If style names are not already named in the new document, the styles will come with the text. Be careful with this, however. If your new document includes the names of styles that match those that you paste in, the pasted text reformats the attributes defined in the new document.
-
ACCESS the same table in another file gives message as there is no...
I'm working on a little game of shooting like a project to learn as3.
I struggled a lot with the as3 syntax, but am willing to grit your teeth and hope that someday that light...
the problem:
I created three clips in a fla.
I plugged 4 .as files to the fla:
Bomber.As
Bullet.As
Kanon.As
Shooter.As (connected to the phase of files / himself).
All the behaviors of the mc are described in packages in their own connected .as file.
I want to do a hitTestObject with "chips" and "bomber".
as file f the ball inside, I make a table to store the bullets.
When I want to access the same table in another .as file, I get a message there is no...
Can anyone suggest a solution...?
any help is very appreciated!
If the bullet.as file is supposed to be for a ball, and you intend to have more than one ball in action at any given time, so you probably don't want this table in the class bullet.as in any case. If the shooter file is the actual game file, then I have the file of shooting game in charge of the creation of new instances of the ball, and that is where I keep track of them in a table and their test against the bombers.
-
How to use the same fragment of page inside different taskflows in multiTaskFlow?
Hi, I am using Jdev 12.1.3
I have a View1 fragment of page inside 2 workflow: btf - task1.xml and btf - task2.xml.
In this TaskFlows, I invoke the ExecuteWithParams method with different parameters (even the iterator).
If I add this task empties into multitaskflow, then the data will be the same. I think that the problem in the same iterator.
Can I use a page fragment in multitaskflow and get different data?
Thank you, Alexa
If you set the scope of data to "isolated", each instance BTF will separate db transaction control (different data)
Dario
-
Using the same virtual machine on two macs, but not at the same time
Hello
I searched this site and the Internet in general, but I couldn't find an answer to this question, so my apologies if this is requested before and if so, please point me to the answer.
I have an iMac with Bootcamp with Windows 7 Professional x 64 partition and everything works fine.
I would like to install 6 Fusion and create a virtual machine from the Bootcamp partition, try it for a while and then delete the Bootcamp partition. I found a complete documentation about this and I should be able to do this without any problems, except perhaps for the reactivation of Windows.
Now the question: since I move sometimes, I would like to be able to move this virtual machine on a Macbook Pro, so I must not move file, sync, etc., and the virtual machine will not at the same time. I read that you use Move so the address UUID and Mac do not change, but I don't know if this applies to move the virtual machine to another computer. If my is:
(1) is it possible?
(2) what I have to buy a second copy of Fusion 6 or there is a player that will allow me to run the virtual machine on the macbook?
Thank you
Luciano
I have experimented with a Windows 7 VM, copied (but I have 2 licenses of retail sales) a mini Mac Core 2 Duo to a Core i7 MacBook Pro retina: well, despite the different processor, he did not ask a reactivation, strangely, even after a few resets. Windows 7 so, seems at least to be quite "tolerant", on this front.
-
Try to use the same pattern for more than two channels (CSR configuration) with usb 6000
Hello
I am currently trying to implement a LabView code to get readings of voltage using 5 different places at the same time. I want to only use the first location in the ground and get 4 measurements of voltage between the ground and each of the other 4 channels. I use a USB 6000 which, for now, allows me to use the same pattern for only two channels. Is it possible to use the same pattern for 4 channels?
Thank you
Maria
The images do not explain everything. You must explain what are the sensors. I think you totally wrong on how they should be linked. CSR, all sensors must be a common understanding and the outputs not individual channels as I have already explained. If you are unable to do this, you should probably not use CSR and you have the wrong data acquisition device. If you want a side of a sensor as a reference, you need differential connections.
-
Copy a few lines in the same table, but with different IDS
Hi all
I had this problem... I have a table with its pk (which is a sequence). With a statement select, I extract a few lines, and then I would record in the same table, but with IDS different (obviously eheheh).
I don't know how to do...
Thks for all help ;)
p.s. I want to change some fields in lines before saving as well... don't know how do it more...
example:
ID NAME TYPE
1 ferrari car
2 cars lamborghini
I'm trying to copy the second and changing its type in "BMW".
I could result:
1 ferrari car
2 cars lamborghini
3 bmw cars
Thank youAssuming that your table is named cars_tb and the cars_seq of the sequence.
insert into cars_tb select cars_seq.nextval, name, type from cars_tb
This would overlap with any existing lines, but with a new id.
If you want to duplicate a specific line and change a value, you could do something like:
insert into cars_tb select cars_seq.nextval, name, 'BMW' from cars_tb where type = 'lamborghini'
or better, use the PK
insert into cars_tb select cars_seq.nextval, name, 'BMW' from cars_tb where id = 2
-
Component used to self referencing the same table?
Hi all.. I'm new to ADF... I have to implement article comment in my application... I don't have only one table to store comments and responses... observations and replicas are identified by a column 'comment_type' that stores the 'R' for the answers and 'C' for the comments... so I have to use the same table again and again to find out if a comment is to have an answer... so which is the best method to apply this and which component is appropriate for this implementation?
Any help would be great-Jey
User, tell us your version of Jdev, please!
A tree will represent you the best data. In your car, you use a self-join view object as described here http://www.oracle.com/technetwork/developer-tools/adf/learnmore/32-tree-table-from-single-vo-169174.pdf
Timo
Maybe you are looking for
-
How can I get my search on the search bar engine choices?
I've lost the ability to choose a search engine by clicking on the magnifying glass next to the search bar. When I click it now all he says is "change search settings." When I go to this option it gives me a list of search engines to view and all are
-
Energy Star a: n 110-303 H P Hardware diagnosis U E F I do not install it.
Windows 8.1 operating system 64-bit Desktop Pavilion 303 110 n a Product J2F55EA number Google Chrome browser. Hello I know very little about computers. Go to system to suport of H P today I found the Diagnostics P H U E F I was not installed and has
-
Not to receive all emails sent to my hotmail account why what happens
For a few months now since Christmas only get all the emails sent to my hotmail account why is it hapeening
-
"Help and Support" feature cannot start
All the features of help and Support Vista don't work (including one in the start menu). I simply get a message that State "Windows Help and Support is unable to start." Help and Support has worked when I first got this computer in March 2009, but
-
Z10 blackBerry PIN is displayed on the home screen and wallpaper is not changed
Hello I've recently refreshed and re-installed the software (version is 10.3.0.442). I now face three problems: 1 when I change the paper painted. it does not change and remains at the pre parameter. 2 home/wallpaper screen shows my PIN as "0 *"PIN"