Payload type

This is sp pathetic to ask but Oracle docs on AQ are even more pathetic to go through, so please help me on this.
I'm executing a JMS program to create a Queue table and Queue, how do i specify a CLOB payload type, such as
SYS.AQ$_JMS_TEXT_MESSAGE stands for the standard TextMessage type supported in JMS, can someone please please help me.

I pulled up the following example from the 9i doc.
chapters 12 - 16 have quite a lot of examples on JMS.
QueueSession q_sess = null;
AQQueueTable q_table = null;
AQQueueTableProperty qt_prop = null;
qt_prop = new AQQueueTableProperty("SYS.AQ$_JMS_BYTES_MESSAGE");
qt_prop.setMultiConsumer(true);
qt_prop.setCompatible("8.1");
q_table = ((AQjmsSession)q_sess).createQueueTable("boluser", "bol_ship_queue_table", qt_prop);
null

Similar Messages

  • Payload type of wav files encoded with gms codec

    Hello everybody,
    I have an application which receives and plays alaw formated wav files using JMF(with the help of some additional libraries) . I want to use lower bandwidth for my application. A quick google search indicated that i can do this by using gsm format.
    I have 2 questions:
    1-) what are the differences between .gsm files and .wav files which are encoded with gsm codecs? Which one's quality is better? which one's compression ratio is better?
    2-) which payload type should i use for wav files which are encoded with gsm codecs?
    In [Rtp Payload list|http://www.iana.org/assignments/rtp-parameters] page, there is a gsm entry whose payload is 3. I suppose that is for files with gsm extension. I tried it but it didn't work with my wav sample (as u can guess it was encoded with gsm 6.10 codec)
    Any suggestion is appreciated. If you have a comment about the main problem (which is using lower bandwidth for sending audio data) i would also like to hear it
    Thanks in advance
    btw i also tried this [gsm sample|http://www.nch.com.au/acm/sample.gsm] with payload 3.At first it worked but then strangely it played just static. In Sun's page it says gsm format is supported. I played both ulaw and alaw succesfully so i wonder what i am doing wrong. Do we need to tell the player that it is going to receive data in gsm format? I didnt do such a thing for u-law and a-law formats...
    Edited by: Bugra.Hasbek on Nov 10, 2008 1:18 AM

    Bugra.Hasbek wrote:
    Hello everybody,
    I have an application which receives and plays alaw formated wav files using JMF(with the help of some additional libraries) . I want to use lower bandwidth for my application. A quick google search indicated that i can do this by using gsm format.
    I have 2 questions:
    1-) what are the differences between .gsm files and .wav files which are encoded with gsm codecs? Which one's quality is better? which one's compression ratio is better?I would imagine they are the same...
    2-) which payload type should i use for wav files which are encoded with gsm codecs?I would imagine 3...
    In [Rtp Payload list|http://www.iana.org/assignments/rtp-parameters] page, there is a gsm entry whose payload is 3. I suppose that is for files with gsm extension. I tried it but it didn't work with my wav sample (as u can guess it was encoded with gsm 6.10 codec)
    Any suggestion is appreciated. If you have a comment about the main problem (which is using lower bandwidth for sending audio data) i would also like to hear itMy suggestion would be not to worry about so much stuff. JMF does all of this for you automaticlly.
    On the sender side, make your processor take in whatever kind of supported file you want. Set the processor to output your GSM mono, and then you can just use a Player to play it on the other side. It's really not very different than the examples...
    [http://java.sun.com/javase/technologies/desktop/media/jmf/2.1.1/solutions/AVTransmit.html]
    When you're programming the tracks, and you're calling "setFormat" on them, just set their format to be gsm.
    [http://java.sun.com/javase/technologies/desktop/media/jmf/2.1.1/solutions/AVReceive.html] should be able to play this out of the box...

  • How to change DTMF RFC2833 payload type to 101 or 127

    Hi,
    We are using Flash Media Gateway 4.5, and we would like to change the DTMF payload type from 127 to 101 for RFC2833.
    as of now, I couldn't find any configuration settings from the documents. Looks like this is a discontinued product but any help is much appreciated.
    Thanks,
    Uttran I

    Hi Thomas,
    according to your first question: Why does this matter to you? As I already wrote in another thread:
    According to the XML namespace declaration the prefixes are just internal aliases with no external meaning.
    E.g. <ns1:abc xmlns:ns1="http://www.sap.com" /> and
    <iLikeLongPrefixes:abc xmlns:iLikeLongPrefixes ="http://www.sap.com" /> are totally equivalent according to the XML namespace specification.
    Therefore, everyone (human or machine) who produces a program can choose the prefixes as he wants. Moreover, he may change the rules for creating these prefixes without being incompatible.
    Consequently, the namespace prefixes should not be important for you.
    Greetings
    Stephan

  • Accessing object payload type attributes by index?

    Plz help
    Using object type in queues enforce some limitations to altering object type. You can use only ALTER TYPE and use alteration that only "expand" properties. It'is possible to change column type from VARCHAR2(10) to VARCHAR2(20) but not vice versa. Also it's impossible to drop object attribute or re-create object type. While storing object source in svn it's uncomfortable to view object source as sequence of ALTER TYPE commands. So, it seems that solution can be usage XMLTYPE as object payload type. But this raise another problem.
    With object type I can use dequeue with BROWSE option that allows to cut by object attribute value. But how to browse by specific attribute value in case of XMLTYPE as object payload type?
    The second question is how to index specific attribute both in object type and in XMLTYPE? I will have a large queue and need quick lookup by specific object attributes.
    The only possibility I see is to index CORR_ID column. It will work good for one attribute. But what to do if I will need index several attributes? Compose them as string? It will lead to data denormalization...

    Thanx for your answer
    The goal was to create a queues with possibility to store processed data for some period of time for tracking purposes. RETENTION_TIME settings allows to do that. Moreover, it can be changed dynamically. This is exactly what our customer requires. Queues with configurable history keeping setting.
    We already have self realized queues based on usual heap tables. In these tables we don't work with object type. As result we can directly index any attribute (column) and have quick access to it. Requirements to make configurable how long processed data saved are pushes to partitioned tables with administrative scripts that will drop old partitions by end user request. This solution seemed to me much more complex in realization then simple change of the RETENTION_TIME parameter via DBMS_AQADM. But after that I found this issue with quick access to attributes...
    And yes, I'm aware about XQuery for XML. But without any index on column it will lead to full scan with additional XQuery expression calculation for each value.

  • Very  Urgent Pls  help :  Change of  payload type to  user-defined types

    Hello Experts
    I was using sys.xml_type as payload type in my queue table creation.
    consider xml message
    <order>
    <id>1</id>
    <load rerer="mq" erere='gg" > </load>
    </order>
    This i inserted into queue table using enqueue process.
    this is done.
    BUT NOW My manager wants to change the payload type.
    he created a type
    create or replace type systype as object (msg varchar2(4000));
    Now payload type of queue table is changed to
    PayloadType==>aq.systype.
    Pls help me how can i insert xml messages into this queue table.
    This is very urgent. Pls help me
    S

    I've just read this thread three times and I have absolutely no idea what you are doing, in what version, and what you are asking for help with.
    Do you want to change the message type? If you do you MUST drop the queue and start over again from the beginning.
    Do you want to enqueue messages?
    Post your DDL and other relevant information or you are on your own. We can not guess at your issue.

  • OSB Service with Oracle AQ with payload type SYS.AQ$_JMS_TEXT_MESSAGE

    I am trying to write a web-service to Enqueue/Dequeue messages from an AQ with payload type SYS.AQ$_JMS_TEXT_MESSAGE defined in Oracle DB.
    In my understanding is that I need to create a JMSModule within weblogic with a ForeignServer defined within it to enqueue/dequeue message to/from the AQ.
    I have created Datasource, JMSServer, JMSModule, ForeignServer (created ConnectionFactory with localJNDIName="MyQueueCF" and RemoteJNDIName as "QueueConnectionFactory" and Destination with localJNDIName="MyQueueDest" and RemoteJNDIName="Queues/<queue_name_in_DB>")
    My business service has an endpoint "http://localhost:7001/MyQueueCF/MyQueueDest"
    When I am testing my service to populate message on to the Queue. I get the following error:
    The error was oracle.jms.AQjmsException: Error creating the db_connection
    My questions are:
    * Am I following the correct procedure to talk to AQ with JMS text message type payload?
    * If yes, how can I get around the issue I am stuck with?
    Please help!
    Thanks.
    Edited by: user4696353 on 27-Sep-2011 11:43
    Edited by: user4696353 on 27-Sep-2011 11:49
    Edited by: user4696353 on 27-Sep-2011 12:25

    Example:
    conn / as sysdba
    begin
    dbms_aqadm.create_queue_table
    ( queue_table=> 'SCOTT.AQJMS'
    , queue_payload_type=> 'SYS.AQ$_JMS_TEXT_MESSAGE'
    , compatible=> '9.1'
    end;
    This worked fine for me after a standard DB-installation.

  • AVReceive2 gives error:  No format has been registered for RTP Payload type

    Hello,
    I am using the AVReceive2 program (http://java.sun.com/products/java-media/jmf/2.1.1/solutions/AVReceive.html#requirements) as posted to hopefully play back RTP in real time. I have it set to receive a known good RTP stream and I receive the following error:
    No format has been registered for RTP Payload type 8
    I have seen posts for a similar error but it seemed to be in the context of an A-law add on which am I not doing. Am I missing a plug-in or modification to the code?
    thanks in advance,
    Erich

    Hi Erich,
    I have the same problem when I using AVReceive2.java .Could yuo describe your solution in order to solve the issue?
    In order to create the RTP stream I used VLC and is impossible to change the encapsulation method and then the payload type .
    What kind of streaming server are yuo used?
    My e-mail address is [email protected]
    If you can , please write me your proceeding in order to solve the problem.
    Thank you

  • Rowtype as Payload Type

    Is it possible specify a payload type as a table rowtype? So instead of passing the table row into an procedure that converts it to an object type with the same information you could instead directly pass MY_TABLE%ROWTYPE to the ENQUEUE call. Thanks in advance!

    Its an Oracle 10g Database...
    Say you had a 1 central database and 20 child databases at remote locations, all with matching schema. Occasionally we have specific records from a table at the central database that we need to "send" to each of the 20 child databases. There is no need for manipulating or converting the data at all, I simply need to insert the row as it exists on the central database to each of the 20 remote databases.
    There exists th possibility that the remote databases could be offline or communication is otherwise unavailable hence the reason for using AQ. Using the propogation feature of AQ I was hoping to send the row of a table from the central database to each of the 20 remote databases.

  • Using XMLType as the AQ payload type

    Can you help
    Some developers working on a 9.2 db are under the impression that to use XMLType as the AQ payload type you need to have XML db (catqm etc) installed . Is this true ?
    ie I don't want to install it unless necessary
    Currently have the the XML sdk installed (initxml.sql)
    Thanks

    Hey,
    I need some examples on how to actually enqueue an XMLType message into the Queue
    Here is my PL/SQL Script
    SET TIMING ON
    DECLARE
    enqueue_options dbms_aq.enqueue_options_t;
    indoc VARCHAR2(2000);
    indomdoc dbms_xmldom.domdocument;
    innode dbms_xmldom.domnode;
    myParser dbms_xmlparser.Parser;
    message_properties dbms_aq.message_properties_t;
    message_handle RAW(16);
    message sys.XMLTYPE;
    BEGIN
    FOR j IN 1 ..100000
    loop
    indoc := '<emp><name> Stan </name></emp>';
    myParser := dbms_xmlparser.newParser;
    dbms_xmlparser.parseBuffer(myParser, indoc);
    indomdoc := dbms_xmlparser.getDocument(myParser);
    message := XMLTYPE(indomdoc);
    -- message := XMLTYPE('<test><name>Stan </name><ID>11111111</ID></test>');
    dbms_aq.enqueue(queue_name => 'msg_queue',
    enqueue_options => enqueue_options,
    message_properties => message_properties,
    payload => message,
    msgid => message_handle);
    COMMIT;
    end loop;
    END;

  • RTPExport using a new payload type

    I'm interested in using the RTPExport example:
    http://java.sun.com/products/java-media/jmf/2.1.1/solutions/RTPExport.html
    But with a custom payload type. I tried to create a dummy RTPManager object with a call to addFormat() at the very beginning, but apparently that's not enough, as when the call is made to p.configure(), I get a message stating the payload type I'm using is not registered.
    Thanks in advance for your help.

    I need a way to communicate a dynamic payload mapping to the Processor object. This is easily done with an RTPManager object, as in the AVCustom examples, but does not appear to be done as easily with a Processor. My requirements are very simple, I just need to use the RTPExport example, but with a dynamic payload type. Hope that clarifies my problem.

  • Firefox webrtc rtp payload type

    I'm seeing an issue when placing a webrtc call with firefox when the answer SDP has different payload types than the offer. for example, i get an offer from firefox that has the opus codec with payload type 109. if the answer SDP comes in with the opus codec and payload type 110, audio will not be heard. looking in the WebRTC.log file you will see a whole bunch of "IncomingRTPPacket received invalid payloadtype".
    i believe the correct behavior in this case is for firefox to transmit opus with RTP payload type 110 (ie the remote payload type) and expect to receive opus with payload type 109. it looks like firefox will send with 110 and expect to receive with 110.
    the same scenario with chrome does not have a problem. if i change the SDP answer to match the payload type of the offer, audio can be heard in firefox.
    the same issue can be seen with VP8 video or other codecs with dynamic payload types.
    for reference, the relevant excerpt from rfc3264:
    "In the case of RTP, if a particular codec was referenced with a
    specific payload type number in the offer, that same payload type
    number SHOULD be used for that codec in the answer. "
    in this case the answer SDP is violating the SHOULD in the rfc, but this is sometimes unavoidable when interworking SDP between devices (ie some sort of back-to-back signaling agent).

    That RFC is a proposed standard at the moment [http://datatracker.ietf.org/doc/rfc3264/]
    However, this would be a great bug for tech evangelism, I would encourage you to file a bug with some technical examples. Way to keep the web open!

  • What is the Payload Type for wav file

    Please inform me what is the PT (Payload Type) for wav file.
    As 26 is for MJPEG file.
    Thanks alot

    Hi Kittu
    These are the output type generally used for GI..
    WA01
    WA02
    WAE1
    WAE2
    WAE3
    WE03
    You can see the types defined in your system using tcode M706
    regrds
    Yogesh

  • Support RTP payload type 8 and 13

    I am trying to use JMF to play back recorded RTP streams containing RTP payload type 8 (ALaw) and 13 (CN). It seems these are not supported by default.
    Did anybody add support to JMF to support these payload types succesfully? Help is greatly appreciated.

    Hello
    i have a same problem.so i was asking if you solved it or not.
    Thanks

  • AVReceive2 Sample - Payload Type 13 (Comfort Noise)

    I'm getting an error from an RTP Stream changing to payload type 13...
    Is there any way around this problem, I want to record the stream...
    Are there any other java programs that can deal with this payload type or other samples...
    I need something lightweight...
    Thanks,
    Ted

    Is there any way around this problem, I want to record the stream...Yeah, go in and implement some code to handle the LocalPayloadChangeEvent when it's received by the SendStreamListener...
    Are there any other java programs that can deal with this payload type or other samples...No sample code I've seen online handles that event, but it shouldn't be difficult to handle. Seems like the best case scenerio would probably be stopping and restarting your Processor/Player, and the worst-case scenario would be unrealizing and rerealizing/starting your Processor/Player...

  • Add dynamic Payload Type to JMF

    Hi all
    I am trying to write a Java application to play streaming video (RTP with dynamic payload of 96) from UCT IPTV server, http://uctimsclient.berlios.de/uctiptv_howto.html
    (My application could receive the streaming RTP but cannot play it)
    I think that I need to register 2 formats to JMF:
    1) MPA, payload type 96
    2) H263_1998, payload type 96
    Below is the information when I run the server.
    ffenc_h263p Caps:
    video/x-raw-yuv, format=(fourcc)I420, width=(int)352, height=(int)240, pixel-aspect-ratio=(fraction)8/9, framerate=(fraction)30000/1001
    Video Caps:
    application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)H263-1998, payload=(int)96, ssrc=(guint)2779507444, clock-base=(guint)599556584, seqnum-base=(guint)5482
    Audio Caps:
    application/x-rtp, media=(string)audio, clock-rate=(int)90000, encoding-name=(string)MPA, payload=(int)96, ssrc=(guint)3836987939, clock-base=(guint)2707891566, seqnum-base=(guint)52755
    I don't know much about codecs. Could any one please help me out with this problem.
    Thanks
    gladiator_vn

    Here is one of the coolest things about LV, and one of its major advantages over languages like VB - it has automatic memory management and it compiles whenever you make a change. This allows you to be very free in the way you handle data and change your code. In this case, you should note the small gray dot that appears when you wire the dynamic data into the Array of Waveforms input. This gray dot means that LV coerces the source data type (DDT, in this case) to the target data type (Array of waveforms). If it wouldn't match, you would get a broken wire, the VI couldn't run, and if you hover over the wire or press the broken run button you would get an exact description of the error. Cool, eh?
    This can also be seen in other things. For example, you can change an array's data type or number of dimensions by simply doing it. This will automatically be reflected anywhere the array is called in the program, and if anything won't match, the VI will be broken. If you change the # of dimensions of an array, any array function which that array is wired to will adapt. This allows you to be very safe in the way you write code, because you have LV watching all that annoying stuff for you. You don't have to worry about misspelling a variable here (for the most part).
    One important point about coercion - it does take processor power. This will usually only be evident in large arrays or loops, but it is an important point. Another thing is that coercing numeric types can cause you to lose data - coercing a DBL to a U16, for example, will cause you to lose all the fractional data.
    To learn more about LabVIEW, I suggest you try searching this site and google for LabVIEW tutorials. Here and here are a couple you can start with. You can also contact your local NI office and join one of their courses.
    In addition, I suggest you read the LabVIEW style guide and the LabVIEW user manual (Help>>Search the LabVIEW Bookshelf).
    Try to take over the world!

Maybe you are looking for

  • My shared folder is not showing on the left side of my itunes.

    I recently got a media server connected to my wireless router and was able to configure it to be used in itunes.  My problem is that my Itunes in my mac book pro does not show the shared folders on the left side no matter what I do.  In my wife's ima

  • Earpods with MacBook Pro

    Used EarPods with MacBook Pro, v. 10.6.8.  Worked fine, but when I disconnected them from the laptop, no sound would emit from the laptop speakers.  Went to System Preferences-Sound-Output, where the only outbput device listed was "Digital Output". A

  • ICloud hacked, what do i do now?

    I received an email saying i needed to verify my apple id so i clicked on the page and entered in my password and username Then i realised it is a spam site. Im in the uk and its currently 22.05pm No apple support teams are open for me to ring in thi

  • IPhoto to Flickr Authorization Error

    Hello... I am having the same issue that eriktiekstra had in a post from 2013. I am currently using Mavericks 10.9.4 - and trying to add photos to my Flickr account directly from iPhoto. It always gets hung up when I try to authorize Flickr within iP

  • Dreamweaver 8 with ASP, Coldfusion, & PHP

    I am new to php and I am trying to work thru Dreamweaver 8 with ASP, Coldfusion and PHP Training from the Source. I have a real simple form. A user enters their first and last name then clicks the submit button. The form is then processed with a scri