The limitation does not not as expected in the JMS adapter
HelloI have a BSE consumer (name: ConsumerESB), that retrieves messages from a weblogic JMS queue and routes them to a BPEL (InvokedBPEL) process.
The queue will get messages in mass 5000 requests at once and I need to implement the limitation to process applications slowly.
Here's what I put.
For the .esbsvc map file, I put
minimumDelayBetweenMessages - 3000 (3 seconds behind should be there between each message)
adapt. JMS. Receive.threads - 1
DequeueTimeOut - 3
According to the above definition, I think, a request must be sent by second and three seconds between two messages.
But I don't see that past, I think I'm getting something like 4-5 requests per second.
The limitation does not seem to work.
Later, I tried the following options:
(for adapter .esbsvc)
minimumDelayBetweenMessages - 10000
adapt. JMS. Receive.threads - 1
DequeueTimeOut - 10
(for .esbsvc routing rule) - got - I need this setting for the routing rule esbsvc?
minimumDelayBetweenMessages - 5000
DequeueTimeOut - 5
Now, I see only one application per second.
Can you please let me know how can I get a perfect delay of 3 seconds between two messages.
I raised a SR with Oracle and discovered that the minimumDelayBetweenMessages property is only applicable for BPEL and not BSE. Therefore, I created a BPEL consumer instead of a BSE consumer and applied to the property of limitation. It worked.
SR link is below for reference.
Tags: Fusion Middleware
Similar Questions
-
Error: Invalid Configuration for the JMS adapter
Hello!
I do a test with the CEP to get messages from a WebLogic JMS queue but I get the following error:
< BEA-2045010 > < the context of the "Test" application could not be initialized: org.springframework.beans.FatalBeanException: error initializing context of life cycle; nested exception is java.lang.IllegalArgumentException: configuration not valid for the JMS adapter, you must Bean or specify a converter or an event type.
Teste.Context.xml:
<? XML version = "1.0" encoding = "UTF-8"? >
< xmlns = "http://www.springframework.org/schema/beans" 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: space = '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 the type name "Pet" = >
< wlevs: class > testewithprotobuf. MyPet$ Pet < / wlevs: class >
< / wlevs:event - type >
< / wlevs:event - type-repository >
< wlevs: adapt id = "pet_messageAdapter" provider = 'jms-entrants' >
< wlevs:listener ref = "pet_inputChannel" / >
< wlevs:instance - name of the property = "converterBean."
REF = "PetMessageConverter" / >
< / wlevs: adjust >
< wlevs: channel id = "pet_inputChannel" - type of event "Pet" = >
< wlevs:listener ref = "pet_messageProcessor" / >
< / wlevs: channel >
< bean id = "PetMessageConverter" class = "testewithprotobuf. PetMessageConverter"/ >
< bean id = "PetBean" class = "testewithprotobuf. PetBean"/ >
< wlevs:processor id = "pet_messageProcessor" >
< wlevs:listener ref = "pet_outputChannel" / >
< / wlevs:processor >
< wlevs: channel id = "pet_outputChannel" - type of event "Pet" = >
< wlevs:listener ref = "PetBean" / >
< / wlevs: channel >
< / beans >
My converter class:
import java.util.Collections;
import java.util.List;
Import javax.jms.BytesMessage;
Import javax.jms.JMSException;
Import javax.jms.Message;
Import testewithprotobuf. MyPet.Pet;
import com.bea.wlevs.adapters.jms.api.InboundMessageConverter;
import com.bea.wlevs.adapters.jms.api.MessageConverterException;
import com.google.protobuf.InvalidProtocolBufferException;
/ public class PetMessageConverter implements InboundMessageConverter {}
@SuppressWarnings ("rawtypes")
@Override
conversion of public list (message Message) throws MessageConverterException.
JMSException {}
BytesMessage, bytesMessage = message (BytesMessage);
long bodyLen = bytesMessage.getBodyLength ();
ubyte [] buffer = new byte [(int) bodyLen];
bytesMessage.readBytes (buffer);
try {}
Pet animal = Pet.parseFrom (buffer);
Return Collections.singletonList (pet);
} catch (InvalidProtocolBufferException e) {}
throw new MessageConverterException (e);
}
}
}
Please, what is the problem?
Thank you!This error usually indicates that you have two type of event and bean converter specified or not specified. In your case, which does not seem the case by looking at the source file. You could also paste the contents of your configuration of the directory META-INF/wlevs file?
-
newText works does not as expected
Hello all,.
I am using formCalc.
My form has a drop-down list box allows this custom text entry. On the change event is a script as follows:
SubformRecap.TableLiabilityRecap.Row [13]. Cell [1] = xfa.event.newText
The custom text entered only works when the user:
- start typing without displaying the menu choices drop-down or completely erases the text of an unwanted choice field
- then, type the custom text
- AND then press ENTER
The script fails to capture the newText if ONE of the following actions occurs
- does not completely erase the contents of the field drop-down box
- or highlights and types on the highlighted text
- or, use TAB instead of ENTRY when you have finished typing
When it fails the following text/integer appears in the referenced field: 1
I have limited user so I guess I could train, however, I would like to avoid that if possible. It's a great form and TAB the norm for the entry and exit of the fields. People use it on their laptops in the field - oddities like this in order to have a major nuisance.
Is the change the right event? Is there a way to enter (ENTER virtual) script?
Thanks in advance!
Stephen
Well, this problem seems interesting... I tried to rebuild, but nothing never is, for me it works in any case so far.
- start typing without displaying the menu choices drop-down or completely erases the text of an unwanted choice field
-
Filling of camera works does not as expected in Android OS 4.0
Hi all
Recently upgraded to Ice Cream Sandwich (Android 4.0) on my model of Motorola Xoom Wi - Fi. Love it so far. I seem to have a new problem trying to create a camera effect fill of any kind. Steps to repro:
- Create any type of layer
- Press on the '&' > type 'bridge camera '.
- Try taking a picture; PS Edit then ends in a loop of treatment (with the four squares to the right animation)
If I try to use the 'back' button Android, I can go back to the Android home screen, and then re - enter PS Touch, who then proceeds to ask me if I want to save my snapshot (which is basically empty). I type any option and everything goes as usual (less PS touch do not take the picture).
I suspect it has to do with Ice Cream Sandwich and the new drivers for the camera of the Xoom. I tried uninstalling and reinstalling PS Touch that does not solve the problem.
Other that that, I have not found something else wrong while using PS touch under Ice Cream Sandwich. I notice a very little bit of performance increase also.
Just thought that I let you know and see if anyone else can repro.
Version 1.1.1 fixes all my problems. Fonts are back, selections so that work now complete camera very well. Yay!
-
Backup of Windows 7 - change the settings - works does not as expected
I'm trying to configure the backup of Windows 7 by using the "Change settings" option, but when I click on the link, all I get is a the Explorer window showing the contents of c:\Windows\System32
Same thing if I click on the link 'manage space '.
What I am doing wrong? or is it a mistake?
Had the same prob, winlocker and shredder in the context menu, uninstalled winlocker and voila, backup now works.
So, try to uninstall the software that hangs in the context menu (the menu "right click") and see if it works. Not interested in why at that time [is really starting to enjoy my Kubuntu box] -
I have two samsung n140 NetBook, both come with Windows 7 starter, I try to get things homegroup networking.
I have set up with the default values at the same time to share the photo, video files etc under homegroup sharing.
He was asked to create a password for homegoup I did it (could have come because I have a NetBook connected initially to a pc running win 7 ultimate, which is where I created a homegroup password but this pc is no longer connected to the network, it's just two samsung netbooks)
in any case when I connected this other netbook with the first he asked me the homegroup password that was entered successfully by me. However, nothing has been free since. These two netbooks running win7 are the only PCs in my home group.
Ive managed to get to a point where in the record of the house band that netbook names are displayed in eachothers homegroup however is listed in network for the group shares residential eachother trying to access the network.
Can I cannect for both computers on the network in the way outdated by sharing folders and access the network folder in my network places and can read and write, but not in the home group.
Homegroup is where I want to control networking not by any other means, I would be very grateful if someone can point me in the right direction please or if its win 7 starter limit myself from network access to the homegroup.
Thank you very much
Hey fatfei,
Welcome to the Microsoft Answers site.
I want to erase some of the basics of networking in Windows 7 Starter edition.
You cannot create a homegroup to a computer running Windows 7 Starter Edition. You can reach only a HomeGroup existing of the starter edition.
This must be one of the restrictions placed on you while trying to connect the two starter edition of Windows 7 homegroup.So the only option left out here is upgraded to another version of Windows 7 that supports creating HomeGroup via Windows Anytime Upgrade or stick to the way they are connected at present.
For more information, please read this article.
Networking in Windows 7 Starter
http://Windows.Microsoft.com/en-us/Windows7/networking-in-Windows-7-StarterHomegroup: frequently asked questions
http://Windows.Microsoft.com/en-us/Windows7/HomeGroup-frequently-asked-questionsKind regards
Shinmila H - Microsoft Support
Visit our Microsoft answers feedback Forum and let us know what you think.
-
handheld at 1 pixel brush works does not as expected...
Hello everyone :-)
When I try to draw a simple freehandline with the tool draw we get this before I release the mouse button:
That's how I expect the line to be in the final drawing.But instead I get this so after releasing the mouse button:
I'm using this brush settings:
So he must produce a solid rounded 1 pixel brush stroke... In Illustrator CS6 this worked as expected.
What I am doing wrong? :-o
All apreaciated advice! :-)
Have a good day, cyan68"Einfach" means "without a brush.
But: the Brush tool will not work without a brush, he always apply a brush.
The pencil tool is what you want. Really.
It works exactly like the Brush tool, but without having to apply a brush.
-
Poster works does not as expected with Adobe CS5
I've finally updated to OS X on an early 2009 Mac Pro Quad Core. I have two screens: a 20 "Apple Cinema and a Samsung Syncmaster. Previously, always with Snow Leopard, I had no problem with the implementation of my menus, panels, etc on the Samsung, thus leaving my film clean and only to view the picture or painting under development. It's a great ploy.
But now, I can't have my workspace (menus, panels and so on) to "stick" to the Samsung. Instead, they insist on layering anything I'm working on the cinema, which is now difficult to see behind all the clutter menus and panels.
I tried to move this to the Samsung, and I saved the arrangement as a new workspace. But the next time and so on, I opened Photoshop, all the menus were back on my film. It is a problem, I expected little, all the problems you may have. But it is serious because I'm not keen on having to pass all the other screen before starting work. In addition, it could be the cause? None of the existing workspaces or those custom made displays on the second monitor except if moved manually.
I'd appreciate responses as to why this is happening. Thank you
-Try to reset memory NVRAM/PRAM and SMC
-
T440: m.2 speed NGFF SSD does not as expected
Hello world
I bought the 128 GB model of the MyDigitalSSD Super Cache 2 (see here). Write speeds are as expected, about 170 - 190 MB/s. However, the playback speed is capped at 270 MB/s, although it should reach well above 400 MB/s. It is confusing to me. I installed the SSD m.2 in the same location where the original cache my T440 (16 GB, SanDisk) module has been installed. "My disk info' indicates that the drive works in mode ' Serial ATA/600", as I figured first it can be flown just SATA/300, and therefore it would make sense that the playback speed is capped at "."< 300="" mb/s.="" but="" this="" doesn't="" seem="" to="" be="" the="">
Is that what I can do to improve performance?
See you soon!
NZ
SOLUTION: Install the SSD drive in slot m2 next to one that contains the WIFI module. It will be free if you order the module WWAN / 3G. But it supports SATA III, while the slot under the battery is apparently not. In this regard, I am puzzled why Lenovo installed the module cache SATA original there.
-
Events in Subvi works does not as expected
Hi, I'm reposting this question because my previous one did not lead to a satisfactory conclusion.
I enclose my Vi which do not work as expected. If I remove a Subvi and its controls of 3 partners and two indicators, it works fine, but when I add two screws SUB, it's messy. I'm learning in this way, I don't know it can be done a lot of other ways, but please help me find the problem, do it this way in my final MainVi, I would use Live 8 such void. Thanks.
Your main problem is the FLOW OF DATA. A loop can not browse all what it has not completed. So, as you have, you must have the two structures of event execture before you can go back to look for the next event. So if you insist on having these subVIs, they must be in separate loops.
BTW, you can get away with a single Subvi. Go to the properties of VI and make incoming (preallocated clone). Then, each call to your Subvi has its own memory space. Much easier to maintain this mode.
And I know you said you didn't want alternatives, but here's how you can do it with a unique structure in your main loop.
-
HTTP POST works does not as expected
I can't understand why the POST with data works when I use Firefox, but not when sent from the BlackBerry. The only difference seems to be that the BlackBerry less sends the headers, but it's all legal HTTP.
It's TCP data are sent to the server (from recorder package):
----------------------------------
HTTP/1.1 POST/page
Host: localhost
Connection: close
Content-Length: 8test = abc
----------------------------------
That sounds about right. However, the Web Server table $_POST (PHP) is empty.
Code follows:
HttpConnection c = (HttpConnection)Connector.open(connectionString); c.setRequestMethod(HttpConnection.POST); DataOutputStream out = c.openDataOutputStream(); URLEncodedPostData postData = new URLEncodedPostData(URLEncodedPostData.DEFAULT_CHARSET, true); postData.append("test", "abc"); System.out.println("requestData: " + new String(postData.getBytes())); out.write(postData.getBytes()); //out.flush(); c.getResponseCode(); InputStream is = c.openDataInputStream(); LineReader lr = new LineReader(is); while(true) { try { byte[] arr = lr.readLine(); System.out.println("Line: " + new String(arr)); } catch(EOFException e) { break; } }
Everyone knows about similar problems using POST?
See you soon,.
Pav
Update:
-J' tried this on 2 servers Web (Apache + PHP) unrelated, both have the same problem.
SOLVED!
I tried to put different headers that Firefox sends inside the request of BB and it does the job:
c.setRequestProperty ("Content-Type", "application/x-www-formulaires-urlencoded");
Hope it saves someone out there a lot of frustration :-)
-
Backups of Vista won't start does not as expected
Backups of Vista were starting automatically as scheduled for the last 3 years, but now they do not start automatically. The backup works fine when I start it manually. I did not any changes to the schedule or to the device where the data is stored (external USB disk). I recently put on maintenance of Vista via Windows Update, did not observe other problems. Running Vista Home Premium 32-bit on a PC from Dell Quad with 4 GB of memory. Any ideas on what is at the origin of the outbreak of backups to fail?
Thank you
zxk1Hello Zxk1,
Thanks for posting in the Microsoft Answers forum! I suggest that search you your computer for any virus infection that may hinder your scheduled automatic backups. Below you will find a sew websites that provide public services that allows you to scan your computer from viruses and spyware:
Microsoft Windows malicious removal tool
This tool checks your computer infections by specific, prevalent malicious software (including Blaster, Sasser, and Mydoom) and helps to remove the infection if it is found. Microsoft will release an updated version of this tool the second Tuesday of each month.
http://www.Microsoft.com/downloads/details.aspx?FamilyId=ad724ae0-e72d-4f54-9ab3-75b8eb148356&displaylang=enSuperAntiSpyware
SUPERAntiSpyware Free Edition is 100% free and will detect and remove thousands of Spyware, Adware, Malware, Trojans, KeyLoggers, Dialers, Hi-Jackers, and worms.
http://www.SUPERAntiSpyware.com/download.htmlBytes of Malware Anti-malware (Freeware)
http://www.download.com/Malwarebytes-anti-malware/3000-8022_4-10804572.htmlTrend Micro HouseCall - Free Online Virus and Spyware Scanner
HouseCall is a free on-line virus scanner offered by Trend Micro, which checks if a computer has been infected by viruses, software spyware or other malicious software. HouseCall performs additional security checks to identify and fix vulnerabilities to prevent re-infection.
http://housecall.trendmicro.com/Please let me know if this helps t solve your issueJ
Adam
Microsoft Answers Support Engineer
Visit our Microsoft answers feedback Forum and let us know what you think -
Script works does not as expected
Script should auto set annotations for me, it was taken directly from "VMWare vSphere PowerCLI référence" Chapter 5
$VM = get - VM 'test '.
$VM - get-VIEvent-entity Types information |
Where-Object {$_.} GetType(). Name - match "VmBeingDeployedEvent". VmCreatedEvent | VmRegisteredEvent | VmClonedEvent"} |
{ForEach-Object
Set Annotation - entity $VM - CustomAttribute CreatedBy-value $Event.UserName
Set Annotation - entity CustomAttribute - CreatedOn - $VM $Event.CreatedTime value
}
This is the error:
Set Annotation: Impossible to validate the argument on the parameter 'value '. The argument is null or empt
y. provide an argument that is not null or empty, and then try the command again.
The Custom vars.ps1:8 char value: 15
-Value + < < < < $Event.UserName
+ CategoryInfo: InvalidData: (:)) [game-Annotation], ParameterBindingValidation)
Exception
+ FullyQualifiedErrorId: ParameterArgumentValidationError, VMware.VimAutomation.ViCore.
Cmdlets.Commands.SetAnnotation
Set Annotation: Impossible to validate the argument on the parameter 'value '. The argument is null or empt
y. provide an argument that is not null or empty, and then try the command again.
The Custom vars.ps1:11 char value: 15
-Value + < < < < $Event.CreatedTime
+ CategoryInfo: InvalidData: (:)) [game-Annotation], ParameterBindingValidation)
Exception
+ FullyQualifiedErrorId: ParameterArgumentValidationError, VMware.VimAutomation.ViCore.
Cmdlets.Commands.SetAnnotation
However a coupe version of the script:
$VM = get - VM 'test '.
$VM - get-VIEvent-entity Types information |
Where-Object {$_.} GetType(). Name - match "VmBeingDeployedEvent". VmCreatedEvent | VmRegisteredEvent | VmClonedEvent"}
Returns:
Model: false
Key: 1022221
ChainId: 1022221
Createduserid: 17/06/2011 10:52:15
Username: EXAMPLE\Me
Data Center: VMware.Vim.DatacenterEventArgument
ComputeResource: VMware.Vim.ComputeResourceEventArgument
Host: VMware.Vim.HostEventArgument
VM: VMware.Vim.VmEventArgument
Ds :
Net :
Dvs :
FullFormattedMessage: Created the test of the virtual machine on vm6.example.com
ChangeTag:
DynamicType:
DynamicProperty:
I don't know if that makes a difference, but I am running 4.1u1 and 4.0 vSphere powerCLI
Someone knows why?
EDIT: running variable dir: dosent seem to show $Event as existing, $VM is here
You need to replace $Event with $_ because you get the value of the line. Like this:
$VM = Get-VM "test" Get-VIEvent -Entity $VM -Types Info | Where-Object { $_.Gettype().Name -match "VmBeingDeployedEvent|VmCreatedEvent|VmRegisteredEvent|VmClonedEvent"} | ForEach-Object { Set-Annotation -Entity $VM -CustomAttribute CreatedBy -Value $_.UserName Set-Annotation -Entity $VM -CustomAttribute CreatedOn -Value $_.CreatedTime }
Best regards, Robert
-
Timer not acting does not as expected
I have a FLA file with several frames. Setting 1 is the "home page". The button takes you to the Framework 2, 3, etc. These frameworks have video clip on them. Each video clip contains 3-4 frames of content.
I found an AS3 code to a timer that follow the movements of the mouse. Whenever the mouse is touched, the timer resets. The timer is set to return to the picture 1 (homepage) on the main timeline if the mouse is left as what for more than a certain time in the code.
This timer seems to work very well for a bit. Then it starts to get messy will more its used. Sometimes I jump to an image with a movie on it and after 1 second, it jumps back to the home page. The next time I navigate to the bottom of the timeline, he can stay on a framework for a longer period of time.
Reading through the forums I think maybe when multiple timers. I'm not sure.
At the end of the day, I want the site to sit at home page until I click on a button to go to another frame to view other clips and their content. Once I'm done browsing, I want to be a wheat to walk away from him and after awhile, I want the timeline to return to section 1 (homepage) is ready for the next person.
Here is the code I use now that I have found online and tried to reuse for this.
//------------------
var nPrevMouseX:Number;
var nPrevMouseY:Number;
var myTimer:Timer = new Timer (180000);
myTimer.addEventListener (TimerEvent.TIMER, fOnTimer, false, 0, true);
myTimer.start ();
function fOnTimer(evtTimer:TimerEvent):void {}
If the mouse has not moved
If (mouseX == nPrevMouseX & & mouseY == nPrevMouseY) {}
gotoAndStop (1);
stage.addEventListener (MouseEvent.MOUSE_MOVE, fOnMouseMove, false, 0, true);
myTimer.reset ();
} else {}
Capture the mouse position
nPrevMouseX = mouseX;
nPrevMouseY = mouseY;
}
}
function fOnMouseMove(evtMouseMove:MouseEvent):void {}
Mouse.Show ();
Restart the timer
myTimer.start ();
Remove the listener
stage.removeEventListener (MouseEvent.MOUSE_MOVE, fOnMouseMove);
}
//----------------
Thanks for any idea you may have. Take care.
use:
var alreadyExecuted:Boolean;
{if(!alreadyExecuted)}
var myTimer:Timer = new Timer (180000);
myTimer.addEventListener (TimerEvent.TIMER, fOnTimer, false, 0, true);
myTimer.start ();
alreadyExecuted = true;
stage.addEventListener (MouseEvent.MOUSE_DOWN, mousedownF, false, 0, true);}
function fOnTimer(evtTimer:TimerEvent):void {}
{if(this.currentFrame!=1)}
gotoAndStop (1);
}
}
function mousedownF(e:MouseEvent):void {}
Restart the timer
myTimer.reset)
myTimer.start)
}
//----------------
-
After calculation of s does not as expected
Hi all
Can someone explain the result of the test below.
When I run my P2_FLAG page displays the "INITIAL" value I expected to see "CHANGÉ" because I thought that the calculation must be updated once all parts are processed and before the page is sent to the browser. I couldn't find any documentation that tells exactly how calculations "after regions or" behave, but [this site | http://www.apexsolutions.de/blog/allgemein/interactive-report-without-initial-results/] suggests it should work the way I expected.Region 1: Item : P2_FLAG Source Used : Always Source Type : Static Assignment Source Value : INITIAL Region 2: Contains a SQL Report that does "select deptno, dname from dept" Computation: Item Name : P2_FLAG Type : Static Assignment Computation Point: After Region(s) Computation : CHANGED Conditions : (none)
I am doing something wrong, misunderstandings of computation points, or y at - it a bug?
I use APEX 4.0.2.00.07.
Thank you.Hello
After calculation of the regions is executed after your item is rendered in the HTML document.
It will only affect the value of the session state from the question, no value you can see in the HTML documentKind regards
Jari
Maybe you are looking for
-
Average of horrible judgment, I downloaded something that turned out to be just another way for MacKeeper Run Amok. I turn on my firewall before you download anything either, and I'm glad that I did because weird things happened. Chrome unexpectedl
-
Satellite L300D - no OS cannot be installed
Hey,. I have a Satelite L300D from a friend and I would like to install Vista on it. Now the problem: Boots of Vista-DVD - all very well... Then, a few minutes after the development stage it says and error when copying files. OK, so I checked the HAR
-
Hi allRecently we are facing a strange problem, we have about 5 windows server 2003 and about 50 users windows xp SP3 all our servers get IP address conflict error at the same time, and we need to disable and enable the network card, sometimes even n
-
They are AppleMobileDeviceService.exe, kernal32.dll and appcompat.txt help...
-
Windows Vista may not recognize Office usb flash
I have laptop Toshiba M700 with vista OS, but last month my vista can not recognize USB flash desktop, what cando?