History
|
Log In
H
OME
B
ROWSE PROJECT
F
IND ISSUES
Q
UICK SEARCH:
Learn more about
Quick Search
Issue Details
(
XML
|
Word
)
Key:
EINSTEIN-3
Type:
New Feature
Status:
Resolved
Resolution:
Fixed
Priority:
Major
Assignee:
Neil Ellis
Reporter:
Neil Ellis
Votes:
0
Watchers:
0
Operations
If you were
logged in
you would be able to see more operations.
Einstein
Change @ to be a general registry lookup for profile information.
Created:
11/Apr/08 12:47 PM
Updated:
16/May/08 03:32 AM
Component/s:
None
Affects Version/s:
0.1
Fix Version/s:
0.1
Description
« Hide
Should use the registry.
Description
Should use the registry.
Show »
All
Comments
Change History
Sort Order:
[
Permlink
|
« Hide
]
Neil Ellis
[
16/May/08 03:32 AM
]
Added proper support for the @ operator and it's using equivalent i.e.:
using (DataModel:XMLDOM) {
resource "time(schedule=cron):0/1 * * * * ?" everySecond;
listen everySecond "bool:true" {
read "camel:
http://rss.news.yahoo.com/rss/topstories
";
split "
xpath://*
[local-name()='content']/@url" {
using (DataModel:POJO) {
write "java:org.cauldron.einstein.ri.examples.ImageMaker";
};
};
write each "java:org.cauldron.einstein.ri.examples.MontageMaker";
};
};
[
Show »
]
Neil Ellis
[
16/May/08 03:32 AM
]
Added proper support for the @ operator and it's using equivalent i.e.: using (DataModel:XMLDOM) { resource "time(schedule=cron):0/1 * * * * ?" everySecond; listen everySecond "bool:true" { read "camel:
http://rss.news.yahoo.com/rss/topstories
"; split "
xpath://*
[local-name()='content']/@url" { using (DataModel:POJO) { write "java:org.cauldron.einstein.ri.examples.ImageMaker"; }; }; write each "java:org.cauldron.einstein.ri.examples.MontageMaker"; }; };
using (DataModel:XMLDOM) {
resource "time(schedule=cron):0/1 * * * * ?" everySecond;
listen everySecond "bool:true" {
read "camel:http://rss.news.yahoo.com/rss/topstories";
split "xpath://*[local-name()='content']/@url" {
using (DataModel:POJO) {
write "java:org.cauldron.einstein.ri.examples.ImageMaker";
};
};
write each "java:org.cauldron.einstein.ri.examples.MontageMaker";
};
};