Can one adapter create multi event to multi channel?

Hello All,
I have a socket reader adapter. I read socket data and genarate two types of events. One of them is positionEvent and other one is alarmEvent. I sent these events to seperate channels and seperate processor. But i have exception to processors. I think events sent all of the channels. Then processor throw exception.
How can I send specific event to specific channel?
Exception is :
<Jan 23, 2012 10:51:05 AM VET> <Error> <CQLProcessor> <BEA-000000> <Failed to set property [information] of event type [UnitAlarm]. Cause = [information] is not a property of event type [UnitPosition]>
config.xml
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:osgi="http://www.springframework.org/schema/osgi"
xmlns:wlevs="http://www.bea.com/ns/wlevs/spring"
xmlns:jdbc="http://www.oracle.com/ns/ocep/jdbc"
xmlns:spatial="http://www.oracle.com/ns/ocep/spatial"
xsi:schemaLocation="
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/osgi
http://www.springframework.org/schema/osgi/spring-osgi.xsd
http://www.bea.com/ns/wlevs/spring
http://www.bea.com/ns/wlevs/spring/spring-wlevs-v11_1_1_3.xsd
http://www.oracle.com/ns/ocep/jdbc
http://www.oracle.com/ns/ocep/jdbc/ocep-jdbc.xsd
http://www.oracle.com/ns/ocep/spatial
http://www.oracle.com/ns/ocep/spatial/ocep-spatial.xsd">
     <wlevs:event-type-repository>
          <wlevs:event-type type-name="UnitPosition">
               <wlevs:class>com.test.model.UnitPosition</wlevs:class>
          </wlevs:event-type>
          <wlevs:event-type type-name="UnitAlarm">
               <wlevs:class>com.test.model.UnitAlarm</wlevs:class>
          </wlevs:event-type>
     </wlevs:event-type-repository>
     <wlevs:channel id="positionInputChannel" event-type="UnitPosition">
          <wlevs:listener ref="positionProcessor" />
     </wlevs:channel>
     <wlevs:processor id="positionProcessor">
          <wlevs:listener ref="positionOutputChannel" />
     </wlevs:processor>
     <wlevs:channel id="positionOutputChannel" event-type="UnitPosition">
          <wlevs:listener ref="bean" />
          <wlevs:listener ref="jmsPositionOutputAdapter" />
     </wlevs:channel>
     <bean id="bean" class="com.test.OutPrinterBean">
     </bean>
     <bean id="xmlConverter"
class="com.test.XmlConverter"/>
     <wlevs:adapter id="jmsPositionOutputAdapter" provider="jms-outbound">
     <wlevs:instance-property name="converterBean" ref="xmlConverter"/>
     </wlevs:adapter>
     <wlevs:adapter id="SocketAdapter"
          class="com.test.adapter.SocketAdapter">
          <wlevs:listener ref="positionInputChannel" />
          <wlevs:listener ref="alarmInputChannel" />
     </wlevs:adapter>
     <wlevs:adapter id="jmsAlarmOutputAdapter" provider="jms-outbound">
     </wlevs:adapter>
     <wlevs:channel id="alarmInputChannel" event-type="UnitAlarm">
          <wlevs:listener ref="alarmProcessor" />
     </wlevs:channel>
     <wlevs:processor id="alarmProcessor">
          <wlevs:listener ref="alarmOutputChannel" />
     </wlevs:processor>
     <wlevs:channel id="alarmOutputChannel" event-type="UnitAlarm">
          <wlevs:listener ref="jmsAlarmOutputAdapter" />
     </wlevs:channel>
</beans>
thanks .

Hi,
Here your SocketAdapter sends whatever data it receives to both the channels, hence depending on the event type you read you get such error which you mentioned.We can't send different type of events to different channels at adapter level, we can do this only at a processor, assigning multiple queries to respective channels.
To make this work you have to use another socket adapter for one more event type. Don't forget to mention the event-type in the adapter config, only one event-type per adapter works.
Hope this fixes your problem.
Thanks
-Patha

Similar Messages

  • I can no longer create an event on iCal by double clicking on a time or date, nor can I double click on an existing event! HELP!

    I can no longer create an event on iCal by double clicking on a time or date, nor can I double click on an existing event! HELP!
    The only way I have to create an event is by using the "+" button, which is very limiting!
    I am running the latest version of Mac OS X and all the updates.
    Anyone know how I could get a proper use of my iCal ?
    Thanks

    Hi,
    If you list the steps you have taken to fix this it will help.
    Have you tried using the File > New Event menu item?
    Have you logged the user account out/ restarted the computer?
    Have you tried un-syncing any accounts synced to Calendar?
    Is there some change made to the computer that may have triggered this?
    Best wishes
    John M

  • Can No Longer Create an Event

    I can no longer create an event in iCal on my iMac.  The new event menu does not appear when a ginve day in double clicked.  This issue arose after attempmting to sync via iCloud to my iPad3 and iPhone5.  Any suggestions?

    Hi,
    If you list the steps you have taken to fix this it will help.
    Have you tried using the File > New Event menu item?
    Have you logged the user account out/ restarted the computer?
    Have you tried un-syncing any accounts synced to Calendar?
    Is there some change made to the computer that may have triggered this?
    Best wishes
    John M

  • Can one Recordset created in the Main/Parent form be used in more than one Subform?

    Hi
    Can one Recordset created in the Parent form be used in more than one Subform?  The parent and subforms are unbound.
    If so, how do I do this?
    Many thanks for your help!
    smsemail

    You can declare a public object variable in the parent form's module's Declarations area:
        Public rs As DAO.Recordset
    Then, anywhere in the parent form's module:
        Dim strSQL As String
        strSQL= "SELECT etc"
        Set rs = CurrentDb.OpenRecordset(strSQL)
    In a subform's module, or anywhere else for that matter while the form is open, you can return a reference to the recordset as a property of the class:
        Form_YourParentFormName.rs
    Ken Sheridan, Stafford, England

  • How can I automatically create calendar events using text from a Pages document?

    Hello,
    I'm looking for a way that I can automatically have calendar events created, by extracting dates and times from a table within a Pages document I have saved on my Mac.
    Currently, I record my working hours/dates on a Pages document in table format, so that I can record and ensure I receive payment for all hours I work.
    After finding out which shifts I have for the week, I insert the day, date, start time and end time (for each shift), into a table within a Pages document.
    I'm wondering if there is any way - such as through Automator, Apple Scripts, etc. - that I can then have the Calendar app automatically create events from that data - including the date, start and end times for each shift?
    Also, if possible, is there a way to set each event to automatically alert me at a chosen time (1 day, 2 days, etc.) beforehand?
    Here is an example of the layout of my document table:
    Date
    Start
    Finish
    Duration
    Saturday, 21 December 2013
    8:00 AM
    5:00 PM
    9:00 hrs
    Sunday, 22 December 2013
    9:00 AM
    6:00 PM
    9:00 hrs
    Monday, 23 December 2013
    12:00 PM
    9:00 PM
    9:00 hrs
    Tuesday, 24 December 2013
    12:00 PM
    6:00 PM
    6:00 hrs
    If anyone can help with this question, that would be greatly appreaciated, as then I could have my calendar automatically create and sync my work shifts across to my iPhone, iPad and Mac.
    Thanks in advance,
    John.

    I totally agree with you.
    Where are the fixes for a long string of bugs, glitches and user issues?
    Looking at the list of new "features" for the next OSX, Maverick (what a dumb name!), all I am seeing is Apple ripping off other peoples' ideas, something it swinges others mercilessly for.
    There is not one thing in Maverick that I don't already have, only more so, with 3rd party add-ons.
    Apple seems bereft of ideas now and I am totally mystified what it is doing with all that money and employees it has accumulated.
    Peter

  • Can thunderbird/lightning create a event simply by dragging and dropping a mail to the calendar

    Microsoft outlook can create a new task by dragging a mail to the calendar. It's so convenient for me. Can thunderbird and lightning support this function?

    For example, when receiving a message, in Microsoft outlook I can just drag this message to the calendar by the mouse, a task will be created automatically, with quoting the message.
    But in thunderbird if drag the message to the calendar, nothing happen.

  • How many statement can one connection create?

    Someone said that most jdbc driver support only one statement in one connection?

    Someone said that most jdbc driver support only one statement in one connection?Either wrong or taken out of context. JDBC 1.0 supported multiple statements per connection.
    What varies is support for 'active' statements be connection. So if you are trying to get two result sets from two different statements that both use the same connection your results can vary. JDBC 2/3 is supposed to support this but you had better test it first.

  • Multi-Channel Ram Upgrade

    I just purchased imac 20.5in with the 2.8MHz i7. I want to upgrade the ram. Would buying one of the multi-channel kits for this machine provide any extra benefit? If so, how many channels can the new imacs support?

    Just go to OWC to see what's approprate for your model and possible permutations.  Since you  didn't specify exactly the model (year) of your imac, here's a link to OWC page to choose memory configurations.
    You don't have to buy from there.  But it will give you an idea of what you can get for your model.
    Update:
    You sure of that 20.1" number?  Could it be 21.5"?  If so here's OWC page for a 2011 21.5 2.8Gz I7. If it is that model you need,
    204-pin PC3-10600 (1333 MHz) DDR3 SO-DIMM

  • Multi-channel loudspeakers and headpho

    i have the audigy 2nx and am using the www.alcatech.com bpm pro4 audio software. This software requires either 2 soundcards or one which has multi-channel support. Its basically a mixer - i want to listen to one song through the loudspeakers and another song simultaneously through my headphones. How do i do this ? is there an option in the creative software which enables this ? I have enabled the option in the bpm software accordingly. However i cant use two seperate channels - ie. i always get this same output on headphones and loudspeakers....PLEASE HELP :-) i would dearly love to use this software at a party on saturday the 3th august (in one day

    Hi Greg,
    See if this article helps: Exporting Multichannel Quicktimes in Premiere Pro: Part 2 | Strypes In Post
    Thanks,
    Kevin

  • Messages in multi-message format can only be sent to one Adapter Engine

    Hi,
    Using XI 7.0 SPS 12 I have a scenario Single Flat File->XI->Multiple Messages to ECC.
    Due to an annoying limitation/bug in ECC we have to send workorders in to be processed as individual transactions.  This means generating seperate calls to ECC from PI.
    I've adjusted my message map (No BPM) to split the source messages out, but when it calls the XI adapter to send them to ECC I get the following:
    <!-- Technical Routing -->
    <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30"
    xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/"
    SOAP:mustUnderstand="">
         <SAP:Category>XIServer</SAP:Category>
         <SAP:Code area="OUTBINDING">CO_TXT_MMF_ENGINETYPE</SAP:Code>
         <SAP:P1/>
         <SAP:P2/>
         <SAP:P3/>
         <SAP:P4/>
         <SAP:AdditionalText/>
         <SAP:ApplicationFaultMessage namespace=""/>
         <SAP:Stack>
         Messages in multi-message format can only be sent to one Adapter Engine
         </SAP:Stack>
         <SAP:Retry>M</SAP:Retry>
    </SAP:Error>
    I am generating multiple structures under
    messages/message1/xx_my_structure_repeated_at_this_level
    which gives the correct amount of payloads in moni.
    I believe this error is because the http/idoc adapters dont go through the AE and it is the AE that splits the multiple messages into individual calls.  Is there a clean workaround which doesnt involve BPM or intermediate writing to disk etc?
    Thanks
    James.
    Points awarded where appropriate.

    <i>I believe this error is because the http/idoc adapters dont go through the AE and it is the AE that splits the multiple messages into individual calls.</i>
    Perfectly correct
    <i>Is there a clean workaround which doesnt involve BPM or intermediate writing to disk etc?</i>
    May be writin a module.
    Otherwise to avoid other development time, go for BPM.
    Regards,
    Prateek

  • Messages in multi message format can be sent to one adapter engine only

    Hi All,
    I am doing the scenario File to IDoc ,picking the .CSV file from the FTP server .
    The problem is that the file is picking fine from FTP ,but getting an error in SXMB_MONI as : Messages in multi message format can be sent to one adapter engine only. What could be the reason and how to rectify it . Please provide me the solution ASAP.
    My Source strucure :
    MT_Source_File_Sender   1..1
       Record                            0..Unbounded
           Business                     1..1
           Line                              1..1
           Curency                       1..1
           Date                              1.1
      etc....
    My Target IDoc: ORDERS.ORDERS05
    ORDERS05                        1..1
       IDOC                                0..99999
         EDI_DC40                      1..1
         E1EDK01                       1..1
    Thank You.
    Regards,
    Bharat Kumar

    Please check the blog below
    /people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible
    and the following thread
    CO_TXT_MMF_ENGINETYPE error in file to proxy ??

  • VNC: How can I share only one desktop screen on mac os when I created multi desktop?

    I created multi desktop, and opened different applications on each desktop.
    I'd like to allow a user to access to only secondary desktop not main screen.
    How can I allow VNC user to access only to specific desktop?

    Ahh,
    Just the App not the support folder I'll be bound.
    8:23 PM Wednesday; August 15, 2007

  • How to create multi-reports based on one user parameter - URGENT!

    Hi, can any one help me? I want to create multi-reports at one time and each of the reports should be generated based on a parameter :subid. The db schema is like this:
    table projects(sub_id, project_id, value, builder_code)
    The main query is "select builder_code, sum(value) from projects group by builder_code where sub_id = :subid".
    The subid will be from the same table: select distinct sub_id from projects.
    What i hope to do is to create each report for each sub_id (subscription id) one by one.
    Thanks a lot.

    Hi Sean,
    Yes, bursting was introduced in Oracle9i Reports. For 6i, the only option may be to write a utility, which keeps submitting the same command to run the report, but every time with a new subscription ID. The query inside the report will be the same as you suggested in your first post:
    select builder_code, sum(value) from projects group by builder_code where sub_id = :subid
    You utility will have to fetch all the subid's from the table, and keep submitting the report request with each subid (the report requests with different subid's can be either submitted one by one, or all at the same time).
    Navneet.

  • I have windows, one computer but multi users. home sharing is on. how can i share music between users on one computer?

    I have windows.  One computer but multi users.  Home sharing is on. 2 apple accounts-1 per user. 4 devices-2 iphones and 2 ipods per user.  How can we share music  on one computer between 2 users?

    Hi Justinece, I've solved the problem in this way:
    In my wife user profile I've set in itunes settings/advanced the path to my music library: /Users/"MY NAME"/Music/iTunes/Itunes media.
    Than, from my wife profile using my administrator user and password I've set the "read/write" privileges on the above mentioned folder.
    Finally I've added the folder in my wife's library taking care to not duplicate it ( leave blank the flag in itunes setting/advanced).
    I really don't understand what's the use of home sharing...

  • Creating a template in Pages is straight-forward as answered here previously. Is there and equivalent for iBooks Author which can start with a blank page and build up the template as required? or can one only adapt a ready made template?

    Creating a template in Pages is straight-forward as answered here previously. Is there an equivalent for iBooks Author which can start with a blank page and build up the template as required? or can one only adapt a ready made template? This has proved unsatisfactory to me so far. Lines are left in etc.

    There are two basic menus for fonts - one from the main menu bar and one from the toolbar. You can also bring up the font manage dialog.
    I don't recommend trying to hard to force an otherwise foreign font, as it inevitably needs to be usable/supported on iOS as well, and that can get tricky w/3rd party fonts, as an example, even with the expanded font support in the latest iBA.
    If you need to discuss fonts more, I suggest starting a new thread....preferably with a slightly more brief title, thanks.

Maybe you are looking for

  • How to install clusterware on windows 2008 R2 64bit

    Hello all, As you know at otn there is only 10.2.0.4 clusterware setup for windows2008. I want to install oracle clusterware on 2008R2. I know that there is a patchset 10.2.0.5 for windows 2008R2. But before using it I must have alredy binary setup f

  • I cannot import Power Point slides into my presentation...

    Hello, have created brand new project with Captivate 7 and tried to import a Power Point slide I made seconds earlier, and I get an error message.  I tried the same with a new project in Captivate 6 (I have 6 and 7) and I get the same message.  See i

  • If I update to iOS 6 will i lose the 2.5 Gb of storage?

    I'd like to update to iOS 6 but on the screen it says i need 2.5 Gb of data to update it. I have the iPhone 4 8Gb so i have very little space as it is... If i update will i lose the remaining space? Also, i just downloaded iOS 6 via itunes on my comp

  • Converting Webutil from 10g to 6i.

    hi, I'm trying to convert webutil from 10g to 6i. Coz i need to give some facility of FTP. i'm able to change all the packages. But few packages like JAVA*, are not able to compile. it is giving error, some JNI. How to resolve this? Regards, Subir

  • CO11N

    *Hi Gurus, I've a problem,i do implement a BADI but  how do i get total entry of materials in CO11N goods movement while save. Thanks, Juni*